Skip to content

Commit 1363dd3

Browse files
committed
use cmake find to find libaec needed by hdf5 on macos
1 parent 6c69904 commit 1363dd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ if (LINUX AND OPTION_TARGET_PYTHON_BINDING)
188188
endif()
189189

190190
#CMakeList.txt that comes with hdf5 switches library name if compiled with debug
191+
if (APPLE)
192+
find_package(libaec REQUIRED)
193+
endif()
191194
find_package(HDF5 COMPONENTS HL CXX C)
192195
set(HDF_VERSION ${HDF5_VERSION})
193196
###### ${HDF5_HL_LIBRARIES} ${HDF5_CXX_LIBRARIES}

0 commit comments

Comments
 (0)