endif ( IS_DIRECTORY "/usr/include/petsc/" AND EXISTS "/usr/lib64/libpetsc.so" )
endif ( DEFINED ENV{PETSC_DIR} OR PETSC_DIR )
- if ( ${PETSC_VERSION} VERSION_GREATER 3.5 )
- add_definitions(-DPETSC_VERSION_GREATER_3_5)
- endif( ${PETSC_VERSION} VERSION_GREATER 3.5 )
+if ( ${PETSC_VERSION} VERSION_GREATER 3.5 )
+ add_definitions(-DPETSC_VERSION_GREATER_3_5)
+endif( ${PETSC_VERSION} VERSION_GREATER 3.5 )
string(REPLACE ";" ":" PETSC_INCLUDES_INSTALL "${PETSC_INCLUDES}")# use colon instead of semicolon in environment file env_SOLVERLAB.sh
IF ( PYTHON_ROOT_DIR OR ENV{PYTHON_ROOT_DIR})
IF ( PYTHON_ROOT_DIR )
set(Python_ROOT_DIR ${PYTHON_ROOT_DIR} )
- ELSE( PYTHON_ROOT_DIR })
+ ELSE( PYTHON_ROOT_DIR )
set(Python_ROOT_DIR $ENV{PYTHON_ROOT_DIR} )
- ENDIF( PYTHON_ROOT_DIR })
+ ENDIF( PYTHON_ROOT_DIR)
ENDIF(PYTHON_ROOT_DIR OR ENV{PYTHON_ROOT_DIR})
IF (${CMAKE_VERSION} VERSION_GREATER "3.12.0")
ENDIF( NOT MATPLOTLIB_ROOT_DIR )
#HDF5_ROOT_DIR
-IF ( NOT HDF5_ROOT_DIR )
- IF ( ENV{HDF5_ROOT_DIR} )
- set(HDF5_ROOT_DIR $ENV{HDF5_ROOT_DIR} )
- ELSE( ENV{HDF5_ROOT_DIR} )
- set(HDF5_ROOT_DIR ${HDF5_ROOT} )
- ENDIF( ENV{HDF5_ROOT_DIR} )
-ENDIF( NOT HDF5_ROOT_DIR )
+set(HDF5_ROOT_DIR $ENV{HDF5_ROOT_DIR} )
+
+#IF ( NOT HDF5_ROOT_DIR )
+# IF ( ENV{HDF5_ROOT_DIR} )
+# set(HDF5_ROOT_DIR $ENV{HDF5_ROOT_DIR} )
+# ELSE( ENV{HDF5_ROOT_DIR} )
+# set(HDF5_ROOT_DIR ${HDF5_ROOT} )
+# ENDIF( ENV{HDF5_ROOT_DIR} )
+#ENDIF( NOT HDF5_ROOT_DIR )
#Paraview library paths