diff --git a/Code/Mantid/Framework/DataHandling/CMakeLists.txt b/Code/Mantid/Framework/DataHandling/CMakeLists.txt index 83d090dc146d..d25fe091dccb 100644 --- a/Code/Mantid/Framework/DataHandling/CMakeLists.txt +++ b/Code/Mantid/Framework/DataHandling/CMakeLists.txt @@ -410,7 +410,7 @@ IF (${CMAKE_SYSTEM_NAME} MATCHES "Windows" OR ${CMAKE_SYSTEM_NAME} MATCHES "Darw find_package ( HDF5 COMPONENTS HL REQUIRED CONFIGS hdf5-config.cmake ) ELSE() - find_package ( HDF5 COMPONENTS ) + find_package ( HDF5 COMPONENTS HL REQUIRED ) ENDIF() #message (STATUS "HDF5_INCLUDE_DIRS:" ${HDF5_INCLUDE_DIRS})