diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-01-07 17:07:52 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-01-07 17:07:52 (GMT) |
commit | f7d530dd275e176e59b26c1b7363ba16b3ab6c9c (patch) | |
tree | adbee762e257098108c6e19ba28112e539f6a438 /config/cmake_ext_mod/HDFUseCXX.cmake | |
parent | 906479d3978adabbacb59da8ec7ffb85d0ddfc2f (diff) | |
download | hdf5-f7d530dd275e176e59b26c1b7363ba16b3ab6c9c.zip hdf5-f7d530dd275e176e59b26c1b7363ba16b3ab6c9c.tar.gz hdf5-f7d530dd275e176e59b26c1b7363ba16b3ab6c9c.tar.bz2 |
HDFFV-10674, 10664, 10674
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 |