summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-05-16 17:53:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-05-16 17:53:38 (GMT)
commitfe3852a3211050e758277a772f3d58e84a4244d5 (patch)
tree499db7b353c1d163b98f8041972112559a272979
parent2f696170c28e3f241e3ae57882d12343c42b01bb (diff)
parentb0e84840e1e5bb286bc507d06d550711df498f02 (diff)
downloadhdf5-fe3852a3211050e758277a772f3d58e84a4244d5.zip
hdf5-fe3852a3211050e758277a772f3d58e84a4244d5.tar.gz
hdf5-fe3852a3211050e758277a772f3d58e84a4244d5.tar.bz2
Merge pull request #1065 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_8_21 to hdf5_1_8_21
* commit 'b0e84840e1e5bb286bc507d06d550711df498f02': Fix soversion naming and update cmake scripts
-rw-r--r--config/cmake/HDF5Macros.cmake6
-rw-r--r--config/cmake/README.txt.cmake.in2
-rwxr-xr-xconfig/cmake/scripts/HDF5config.cmake6
3 files changed, 7 insertions, 7 deletions
diff --git a/config/cmake/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake
index e472a67..fe38b82 100644
--- a/config/cmake/HDF5Macros.cmake
+++ b/config/cmake/HDF5Macros.cmake
@@ -20,11 +20,11 @@ macro (H5_SET_LIB_OPTIONS libtarget libname libtype libpackage)
else ()
set (LIBHDF_VERSION ${HDF5_${libpackage}_PACKAGE_SOVERSION_MAJOR})
endif ()
- set_target_properties (${libtarget} PROPERTIES VERSION ${LIBHDF_VERSION})
+ set_target_properties (${libtarget} PROPERTIES VERSION ${PACKAGE_SOVERSION})
if (WIN32)
- set (${LIB_OUT_NAME} "${LIB_OUT_NAME}-${PACKAGE_SOVERSION}")
+ set (${LIB_OUT_NAME} "${LIB_OUT_NAME}-${LIBHDF_VERSION}")
else ()
- set_target_properties (${libtarget} PROPERTIES SOVERSION ${PACKAGE_SOVERSION})
+ set_target_properties (${libtarget} PROPERTIES SOVERSION ${LIBHDF_VERSION})
endif ()
endif ()
HDF_SET_LIB_OPTIONS (${libtarget} ${LIB_OUT_NAME} ${libtype})
diff --git a/config/cmake/README.txt.cmake.in b/config/cmake/README.txt.cmake.in
index de480a4..3e6e249 100644
--- a/config/cmake/README.txt.cmake.in
+++ b/config/cmake/README.txt.cmake.in
@@ -45,7 +45,7 @@ To test the installation with the examples;
be the same as the value used with the -C command line option.
The default build configuration is defined to build and use static libraries.
Shared libraries can be used with the STATICONLYLIBRARIES script option set to "NO".
- Other options can be changed by editing the HDF518_Examples.cmake file.
+ Other options can be changed by editing the HDF518_Examples_options.cmake file.
If the defaults are okay, execute from this directory:
ctest -S HDF518_Examples.cmake -C Release -V -O test.log
diff --git a/config/cmake/scripts/HDF5config.cmake b/config/cmake/scripts/HDF5config.cmake
index 9d427ec..36c4888 100755
--- a/config/cmake/scripts/HDF5config.cmake
+++ b/config/cmake/scripts/HDF5config.cmake
@@ -12,7 +12,7 @@
#############################################################################################
### ${CTEST_SCRIPT_ARG} is of the form OPTION=VALUE ###
### BUILD_GENERATOR required [Unix, VS2017, VS201764, VS2015, VS201564, VS2013, VS201364] ###
-### ctest -S HDF518config.cmake,BUILD_GENERATOR=VS201264 -C Release -VV -O hdf518.log ###
+### ctest -S HDF518config.cmake,BUILD_GENERATOR=VS201764 -C Release -VV -O hdf518.log ###
#############################################################################################
cmake_minimum_required (VERSION 3.10)
@@ -42,7 +42,7 @@ set (CTEST_SOURCE_VERSEXT "-pre1")
#BUILD_GENERATOR - which CMake generator to use, required
#INSTALLDIR - HDF5-1.8 root folder
#CTEST_CONFIGURATION_TYPE - Release, Debug, RelWithDebInfo
-#CTEST_SOURCE_NAME - name of source folder; HDF5-1.8.20
+#CTEST_SOURCE_NAME - name of source folder; HDF5-1.8.x
if (DEFINED CTEST_SCRIPT_ARG)
# transform ctest script arguments of the form
# script.ctest,var1=value1,var2=value2
@@ -184,7 +184,7 @@ set (MODEL "Experimental")
##### Following controls source update #####
#set (LOCAL_UPDATE "TRUE")
set (REPOSITORY_URL "https://git@bitbucket.hdfgroup.org/scm/hdffv/hdf5.git")
-set (REPOSITORY_BRANCH "hdf5_1_8_20")
+set (REPOSITORY_BRANCH "hdf5_1_8_21")
#uncomment to use a compressed source file: *.tar on linux or mac *.zip on windows
#set(CTEST_USE_TAR_SOURCE "${CTEST_SOURCE_VERSION}")