summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2019-02-22 00:18:39 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2019-02-22 00:18:39 (GMT)
commit342cad2a3d9a7df02be37fa258b9f577c7e7ee88 (patch)
treecf313c0a92df95798817f8494bd9df0d3334b687 /test
parent065d63b4a4207a632fbf08e160411b7931972b08 (diff)
parentbcf5c400c06bf06820b25c37eceaa97245f15f1f (diff)
downloadhdf5-342cad2a3d9a7df02be37fa258b9f577c7e7ee88.zip
hdf5-342cad2a3d9a7df02be37fa258b9f577c7e7ee88.tar.gz
hdf5-342cad2a3d9a7df02be37fa258b9f577c7e7ee88.tar.bz2
Merge pull request #1569 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:topic_threadsafe to develop
* commit 'bcf5c400c06bf06820b25c37eceaa97245f15f1f': Fix CMake H5_HAVE_THREADSAFE to set value in H5pubconf.h
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index c442e9b..276cf09 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -45,7 +45,7 @@ if (BUILD_SHARED_LIBS)
INTERFACE "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>"
)
target_compile_definitions(${HDF5_TEST_LIBSH_TARGET}
- PUBLIC "H5_BUILT_AS_DYNAMIC_LIB" $<$<BOOL:${HDF5_ENABLE_THREADSAFE}>:H5_HAVE_THREADSAFE>
+ PUBLIC "H5_BUILT_AS_DYNAMIC_LIB"
)
TARGET_C_PROPERTIES (${HDF5_TEST_LIBSH_TARGET} SHARED)
target_link_libraries (${HDF5_TEST_LIBSH_TARGET}