diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d2f348e..1c92c91 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -672,28 +672,22 @@ IF (HDF5_ENABLE_PARALLEL) OPTION (HDF5_ENABLE_EFF "Enable Exascale Fast-Forward functionalities." OFF) IF (HDF5_ENABLE_EFF) # AXE Asynchronous Engine - FIND_PACKAGE(AXE REQUIRED) + FIND_PACKAGE(AXE) IF (AXE_FOUND) INCLUDE_DIRECTORIES (${AXE_INCLUDE_DIR}) SET (LINK_LIBS ${LINK_LIBS} ${AXE_LIBRARIES}) - ELSE (AXE_FOUND) - MESSAGE (FATAL_ERROR "Could not find AXE, please check AXE_INCLUDE_DIR.") ENDIF (AXE_FOUND) # MERCURY Function Shipper - FIND_PACKAGE(MERCURY NO_MODULE REQUIRED) + FIND_PACKAGE(MERCURY NO_MODULE) IF (MERCURY_FOUND) INCLUDE_DIRECTORIES (${MERCURY_INCLUDE_DIR}) SET (LINK_LIBS ${LINK_LIBS} mercury) - ELSE (MERCURY_FOUND) - MESSAGE (FATAL_ERROR "Could not find MERCURY, please check MERCURY_DIR.") ENDIF (MERCURY_FOUND) # I/O Dispatcher - FIND_PACKAGE(IOD REQUIRED) + FIND_PACKAGE(IOD) IF (IOD_FOUND) INCLUDE_DIRECTORIES (${IOD_INCLUDE_DIR}) SET (LINK_LIBS ${LINK_LIBS} ${IOD_LIBRARIES}) - ELSE (IOD_FOUND) - MESSAGE (FATAL_ERROR "Could not find IOD, please check IOD_INCLUDE_DIR.") ENDIF (IOD_FOUND) # Use threadsafe SET (HDF5_ENABLE_THREADSAFE ON) |