summaryrefslogtreecommitdiffstats
path: root/tools/h5import
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 /tools/h5import
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 'tools/h5import')
-rw-r--r--tools/h5import/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5import/CMakeLists.txt b/tools/h5import/CMakeLists.txt
index 2ba2b78..bf1515e 100644
--- a/tools/h5import/CMakeLists.txt
+++ b/tools/h5import/CMakeLists.txt
@@ -11,7 +11,7 @@ INCLUDE_DIRECTORIES (${HDF5_TOOLS_SRC_DIR}/lib)
# --------------------------------------------------------------------
add_executable (h5import ${HDF5_TOOLS_H5IMPORT_SOURCE_DIR}/h5import.c)
TARGET_NAMING (h5import ${LIB_TYPE})
-TARGET_C_PROPERTIES (h5import " " " ")
+TARGET_C_PROPERTIES (h5import ${LIB_TYPE} " " " ")
target_link_libraries (h5import ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET})
#set_target_properties (h5import PROPERTIES COMPILE_DEFINITIONS H5DEBUGIMPORT)
set_target_properties (h5import PROPERTIES FOLDER tools)
@@ -24,7 +24,7 @@ if (BUILD_TESTING)
# --------------------------------------------------------------------
add_executable (h5importtest ${HDF5_TOOLS_H5IMPORT_SOURCE_DIR}/h5importtest.c)
TARGET_NAMING (h5importtest ${LIB_TYPE})
- TARGET_C_PROPERTIES (h5importtest " " " ")
+ TARGET_C_PROPERTIES (h5importtest ${LIB_TYPE} " " " ")
target_link_libraries (h5importtest ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET})
set_target_properties (h5importtest PROPERTIES FOLDER tools)