diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-10-19 17:12:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-10-19 17:12:41 (GMT) |
commit | 42bc11d9df719c20d17ddd777c0645152a733919 (patch) | |
tree | 40b4e14a2fe8a2b81daa2fe4c70ff2dbb8e871f1 /hl/c++/src | |
parent | eff6360fbde1e5f2ea0bc1119d7818686e0dc9f6 (diff) | |
download | hdf5-42bc11d9df719c20d17ddd777c0645152a733919.zip hdf5-42bc11d9df719c20d17ddd777c0645152a733919.tar.gz hdf5-42bc11d9df719c20d17ddd777c0645152a733919.tar.bz2 |
[svn-r28125] Add library version changes based on lt_vers.am file.
Diffstat (limited to 'hl/c++/src')
-rw-r--r-- | hl/c++/src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/c++/src/CMakeLists.txt b/hl/c++/src/CMakeLists.txt index e37c5ba..8740737 100644 --- a/hl/c++/src/CMakeLists.txt +++ b/hl/c++/src/CMakeLists.txt @@ -34,7 +34,7 @@ if (BUILD_SHARED_LIBS) ${HDF5_LIBSH_TARGET} ) set_global_variable (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF5_HL_CPP_LIBSH_TARGET}") - H5_SET_LIB_OPTIONS (${HDF5_HL_CPP_LIBSH_TARGET} ${HDF5_HL_CPP_LIB_NAME} SHARED) + H5_SET_LIB_OPTIONS (${HDF5_HL_CPP_LIBSH_TARGET} ${HDF5_HL_CPP_LIB_NAME} SHARED ${HDF5_HL_CXX_PACKAGE_SOVERSION}) set_target_properties (${HDF5_HL_CPP_LIBSH_TARGET} PROPERTIES FOLDER libraries/hl COMPILE_DEFINITIONS "H5_BUILT_AS_DYNAMIC_LIB" @@ -45,7 +45,7 @@ if (BUILD_SHARED_LIBS) endif (BUILD_SHARED_LIBS) #----------------------------------------------------------------------------- -# Add file(s) to CMake Install +# Add file(s) to CMake Install #----------------------------------------------------------------------------- install ( FILES @@ -63,7 +63,7 @@ if (HDF5_EXPORTED_TARGETS) if (BUILD_SHARED_LIBS) INSTALL_TARGET_PDB (${HDF5_HL_CPP_LIBSH_TARGET} ${HDF5_INSTALL_BIN_DIR} hlcpplibraries) endif (BUILD_SHARED_LIBS) - + install ( TARGETS ${install_targets} |