mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
ParaView-5.0.1: Added the source-tree to ThirdParty-dev and patched as described in the README file
Resolves bug-report http://bugs.openfoam.org/view.php?id=2098
This commit is contained in:
46
ParaView-5.0.1/Plugins/AdiosReader/FindAdios.cmake
Normal file
46
ParaView-5.0.1/Plugins/AdiosReader/FindAdios.cmake
Normal file
@ -0,0 +1,46 @@
|
||||
# =================================================
|
||||
# Find Adios library and set the following vars
|
||||
# - ADIOS_INCLUDE_PATH
|
||||
# - ADIOS_LIBRARY
|
||||
# - ADIOS_READ_LIBRARY
|
||||
# - ADIOS_READ_NO_MPI_LIBRARY
|
||||
# =================================================
|
||||
|
||||
FIND_PATH(ADIOS_INCLUDE_PATH adios.h
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/opt/adios/include
|
||||
)
|
||||
|
||||
IF (ADIOS_INCLUDE_PATH)
|
||||
FIND_LIBRARY(ADIOS_LIBRARY
|
||||
NAMES
|
||||
adios
|
||||
PATHS
|
||||
${ADIOS_INCLUDE_PATH}/../lib
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/adios/lib
|
||||
)
|
||||
|
||||
FIND_LIBRARY(ADIOS_READ_LIBRARY
|
||||
NAMES
|
||||
adiosread
|
||||
PATHS
|
||||
${ADIOS_INCLUDE_PATH}/../lib
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/adios/lib
|
||||
)
|
||||
|
||||
FIND_LIBRARY(ADIOS_READ_NO_MPI_LIBRARY
|
||||
NAMES
|
||||
adiosread_nompi
|
||||
PATHS
|
||||
${ADIOS_INCLUDE_PATH}/../lib
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/adios/lib
|
||||
)
|
||||
|
||||
ENDIF ()
|
||||
Reference in New Issue
Block a user