diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-04-04 16:36:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 16:36:23 (GMT) |
commit | f13f8705b18dbd21ea08192d7167a24a4f5309fe (patch) | |
tree | ad510e8ff9fbf858822d921b65d3f8120fe9f226 /tools/test/h5copy | |
parent | ec0d4d64867923577c7680c94bf4d51558664693 (diff) | |
download | hdf5-f13f8705b18dbd21ea08192d7167a24a4f5309fe.zip hdf5-f13f8705b18dbd21ea08192d7167a24a4f5309fe.tar.gz hdf5-f13f8705b18dbd21ea08192d7167a24a4f5309fe.tar.bz2 |
Make sure that ONLY_SHARED_LIBS option is correctly set (#2545)
Diffstat (limited to 'tools/test/h5copy')
-rw-r--r-- | tools/test/h5copy/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5copy/CMakeLists.txt b/tools/test/h5copy/CMakeLists.txt index e8b2df4..0fb6da4 100644 --- a/tools/test/h5copy/CMakeLists.txt +++ b/tools/test/h5copy/CMakeLists.txt @@ -4,7 +4,7 @@ project (HDF5_TOOLS_TEST_H5COPY C) # -------------------------------------------------------------------- # Add the h5copy test executables # -------------------------------------------------------------------- -if (HDF5_BUILD_GENERATORS AND NOT ONLY_SHARED_LIBS) +if (HDF5_BUILD_GENERATORS AND BUILD_STATIC_LIBS) add_executable (h5copygentest ${HDF5_TOOLS_TEST_H5COPY_SOURCE_DIR}/h5copygentest.c) target_include_directories (h5copygentest PRIVATE "${HDF5_SRC_INCLUDE_DIRS};${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") TARGET_C_PROPERTIES (h5copygentest STATIC) |