diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-05-03 16:57:30 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-05-03 16:57:30 (GMT) |
commit | 1d1333ed6b51ef94862c50fe35fa52bea7756139 (patch) | |
tree | 5f02c4417e0846210a5e8f6d1a8280436edfe75c /config | |
parent | 01a77cbfb17d8802a9f135bb95a2b2ec57f75410 (diff) | |
download | hdf5-1d1333ed6b51ef94862c50fe35fa52bea7756139.zip hdf5-1d1333ed6b51ef94862c50fe35fa52bea7756139.tar.gz hdf5-1d1333ed6b51ef94862c50fe35fa52bea7756139.tar.bz2 |
Revert to old style for LINK_FLAGS gen expr not working
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/HDF5Macros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake index 7048db6..2bdf38f 100644 --- a/config/cmake/HDF5Macros.cmake +++ b/config/cmake/HDF5Macros.cmake @@ -33,7 +33,7 @@ macro (H5_SET_LIB_OPTIONS libtarget libname libtype libpackage) 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_property(TARGET ${libtarget} APPEND_STRING PROPERTY + set_property(TARGET ${libtarget} APPEND PROPERTY LINK_FLAGS "-current_version ${HDF5_PACKAGE_VERSION} -compatibility_version ${HDF5_PACKAGE_VERSION}" ) set_target_properties (${libtarget} PROPERTIES |