diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-03-13 21:24:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 21:24:49 (GMT) |
commit | cb679af19d170982f522f57beaf72888da324105 (patch) | |
tree | fbefdae6dafa450fe799841c1c881b813569fcf0 /test/CMakeTests.cmake | |
parent | 3d8dc012a4353336652479541388b8530accb11c (diff) | |
download | hdf5-cb679af19d170982f522f57beaf72888da324105.zip hdf5-cb679af19d170982f522f57beaf72888da324105.tar.gz hdf5-cb679af19d170982f522f57beaf72888da324105.tar.bz2 |
Make sure that ONLY_SHARED_LIBS option is correctly set (#2544)
Diffstat (limited to 'test/CMakeTests.cmake')
-rw-r--r-- | test/CMakeTests.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake index 5086194..fa38a76 100644 --- a/test/CMakeTests.cmake +++ b/test/CMakeTests.cmake @@ -925,7 +925,7 @@ endif () ############################################################################## ############################################################################## -if (HDF5_BUILD_GENERATORS AND NOT ONLY_SHARED_LIBS) +if (HDF5_BUILD_GENERATORS AND BUILD_STATIC_LIBS) macro (ADD_H5_GENERATOR genfile) add_executable (${genfile} ${HDF5_TEST_SOURCE_DIR}/${genfile}.c) target_include_directories (${genfile} PRIVATE "${HDF5_SRC_INCLUDE_DIRS};${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") |