Skip to content

Commit

Permalink
restore previous hdf5 check for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jun 16, 2016
1 parent 9cd705d commit f4dee44
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Expand Up @@ -572,8 +572,11 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")

if(NOT FREECAD_USE_EXTERNAL_SMESH)
# See https://www.hdfgroup.org/HDF5/release/cmakebuild.html
find_package(HDF5 COMPONENTS NO_MODULE REQUIRED static)
#find_package(HDF5 REQUIRED)
if (WIN32)
find_package(HDF5 COMPONENTS NO_MODULE REQUIRED static)
else()
find_package(HDF5 REQUIRED)
endif()
find_package(MEDFile REQUIRED)
set(SMESH_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/3rdParty/salomesmesh/inc)
else()
Expand Down

0 comments on commit f4dee44

Please sign in to comment.