summaryrefslogtreecommitdiffstats
path: root/c++/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-05-09 13:53:25 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-05-09 13:53:25 (GMT)
commitf1a668a3b5c8e35979f78e419ba76bee3cce78a9 (patch)
tree6044e325dfc0052bbc12fd4d8e01cfab7d3e0eaa /c++/test
parent4069936ee48296216758a69cd5baccc04401c7b9 (diff)
downloadhdf5-f1a668a3b5c8e35979f78e419ba76bee3cce78a9.zip
hdf5-f1a668a3b5c8e35979f78e419ba76bee3cce78a9.tar.gz
hdf5-f1a668a3b5c8e35979f78e419ba76bee3cce78a9.tar.bz2
Correct COMPILE defs usage
Diffstat (limited to 'c++/test')
-rw-r--r--c++/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/CMakeLists.txt b/c++/test/CMakeLists.txt
index 0815aa8..33849a9 100644
--- a/c++/test/CMakeLists.txt
+++ b/c++/test/CMakeLists.txt
@@ -40,7 +40,7 @@ configure_file (${HDF5_CPP_TEST_SOURCE_DIR}/H5srcdir_str.h.in H5srcdir_str.h @O
add_executable (cpp_testhdf5 ${CPP_TEST_SOURCES} )
target_include_directories(cpp_testhdf5 PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TEST_BINARY_DIR}")
target_compile_definitions(cpp_testhdf5
- PRIVATE $<$<BOOL:${HDF5_ENABLE_PARALLEL}>:"-DMPICH_SKIP_MPICXX;-DMPICH_IGNORE_CXX_SEEK"># Parallel/MPI, prevent spurious cpp/cxx warnings
+ PRIVATE $<$<BOOL:${HDF5_ENABLE_PARALLEL}>:MPICH_SKIP_MPICXX;MPICH_IGNORE_CXX_SEEK># Parallel/MPI, prevent spurious cpp/cxx warnings
)
TARGET_C_PROPERTIES (cpp_testhdf5 STATIC)
target_link_libraries (cpp_testhdf5 PRIVATE