summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-03-26 13:51:01 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-03-26 13:51:01 (GMT)
commit7ebd4c831120e589fdad24a3fe3e2b4dbce7201a (patch)
tree0f56bbf48529feb27768d003d2c65b916c1fbae4 /testpar
parenta877ab37b641f4bb3e63322b67805eb128626771 (diff)
downloadhdf5-7ebd4c831120e589fdad24a3fe3e2b4dbce7201a.zip
hdf5-7ebd4c831120e589fdad24a3fe3e2b4dbce7201a.tar.gz
hdf5-7ebd4c831120e589fdad24a3fe3e2b4dbce7201a.tar.bz2
[svn-r26600] Fix CMake target calls to add new parameter
Diffstat (limited to 'testpar')
-rw-r--r--testpar/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/CMakeLists.txt b/testpar/CMakeLists.txt
index 5ef0028..37b461b 100644
--- a/testpar/CMakeLists.txt
+++ b/testpar/CMakeLists.txt
@@ -28,14 +28,14 @@ set (testphdf5_SRCS
#-- Adding test for testhdf5
add_executable (testphdf5 ${testphdf5_SRCS})
TARGET_NAMING (testphdf5 ${LIB_TYPE})
-TARGET_C_PROPERTIES (testphdf5 " " " ")
+TARGET_C_PROPERTIES (testphdf5 ${LIB_TYPE} " " " ")
target_link_libraries (testphdf5 ${HDF5_TEST_LIB_TARGET} ${HDF5_LIB_TARGET} ${LINK_LIBS})
set_target_properties (testphdf5 PROPERTIES FOLDER test/par)
MACRO (ADD_H5P_EXE file)
add_executable (${file} ${HDF5_TEST_PAR_SOURCE_DIR}/${file}.c)
TARGET_NAMING (${file} ${LIB_TYPE})
- TARGET_C_PROPERTIES (${file} " " " ")
+ TARGET_C_PROPERTIES (${file} ${LIB_TYPE} " " " ")
target_link_libraries (${file} ${HDF5_TEST_LIB_TARGET} ${HDF5_LIB_TARGET} ${LINK_LIBS})
set_target_properties (${file} PROPERTIES FOLDER test/par)
ENDMACRO (ADD_H5P_EXE file)