summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-06-16 19:26:18 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-06-16 19:26:18 (GMT)
commit8c56c5096e797222e0fd7e177d7be4973d51bed3 (patch)
tree3a63ef988e42821155738ba8bb018050137082ac
parent90757478c21d85c5c3fbf1b28811970db09897df (diff)
downloadhdf5-8c56c5096e797222e0fd7e177d7be4973d51bed3.zip
hdf5-8c56c5096e797222e0fd7e177d7be4973d51bed3.tar.gz
hdf5-8c56c5096e797222e0fd7e177d7be4973d51bed3.tar.bz2
[svn-r25299] correct case of CMake commands
-rw-r--r--config/cmake/HDF5Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake
index d0379db..baa18c0 100644
--- a/config/cmake/HDF5Macros.cmake
+++ b/config/cmake/HDF5Macros.cmake
@@ -20,7 +20,7 @@ MACRO (H5_SET_LIB_OPTIONS libtarget libname libtype)
if (APPLE)
option (HDF5_BUILD_WITH_INSTALL_NAME "Build with library install_name set to the installation path" OFF)
if (HDF5_BUILD_WITH_INSTALL_NAME)
- SET_TARGET_PROPERTIES(${libtarget} PROPERTIES
+ set_target_properties (${libtarget} PROPERTIES
LINK_FLAGS "-current_version ${HDF5_PACKAGE_VERSION} -compatibility_version ${HDF5_PACKAGE_VERSION}"
INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib"
BUILD_WITH_INSTALL_RPATH ${HDF5_BUILD_WITH_INSTALL_NAME}