diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-01-24 21:57:31 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-01-24 21:57:31 (GMT) |
commit | 1e411d15c6ca9310d75d98c984163b9f435d50e4 (patch) | |
tree | 293eddb8a3e4a415271dab1101bf0256de999bd1 /config/cmake_ext_mod/HDFUseCXX.cmake | |
parent | 00f26bf973c234b806477bfe15378f276117bec4 (diff) | |
download | hdf5-1e411d15c6ca9310d75d98c984163b9f435d50e4.zip hdf5-1e411d15c6ca9310d75d98c984163b9f435d50e4.tar.gz hdf5-1e411d15c6ca9310d75d98c984163b9f435d50e4.tar.bz2 |
CMake updates
Diffstat (limited to 'config/cmake_ext_mod/HDFUseCXX.cmake')
-rw-r--r-- | config/cmake_ext_mod/HDFUseCXX.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake_ext_mod/HDFUseCXX.cmake b/config/cmake_ext_mod/HDFUseCXX.cmake index f293ec5..efaa556 100644 --- a/config/cmake_ext_mod/HDFUseCXX.cmake +++ b/config/cmake_ext_mod/HDFUseCXX.cmake @@ -48,8 +48,8 @@ macro (HDF_CXX_FUNCTION_TEST OTHER_TEST) if (NOT DEFINED ${OTHER_TEST}) set (MACRO_CHECK_FUNCTION_DEFINITIONS "-D${OTHER_TEST} ${CMAKE_REQUIRED_FLAGS}") set (OTHER_TEST_ADD_LIBRARIES) - if (CMAKE_REQUIRED_LIBRARIES) - set (OTHER_TEST_ADD_LIBRARIES "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") + if (HDF5_REQUIRED_LIBRARIES) + set (OTHER_TEST_ADD_LIBRARIES "-DLINK_LIBRARIES:STRING=${HDF5_REQUIRED_LIBRARIES}") endif () foreach (def |