summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5_Examples.cmake.in
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-23 23:25:41 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-23 23:25:41 (GMT)
commit41010b8d1e12f01a944afc127bb53234497724a8 (patch)
tree944d4dd45d4db6933ac280f9d9e44719a7f24e4e /config/cmake/HDF5_Examples.cmake.in
parentf0e2fc6c62943887944e9a1e5ca732d5f6a71b6e (diff)
downloadhdf5-41010b8d1e12f01a944afc127bb53234497724a8.zip
hdf5-41010b8d1e12f01a944afc127bb53234497724a8.tar.gz
hdf5-41010b8d1e12f01a944afc127bb53234497724a8.tar.bz2
Update CMake
Diffstat (limited to 'config/cmake/HDF5_Examples.cmake.in')
-rw-r--r--config/cmake/HDF5_Examples.cmake.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/cmake/HDF5_Examples.cmake.in b/config/cmake/HDF5_Examples.cmake.in
index d30f2ab..bac174a 100644
--- a/config/cmake/HDF5_Examples.cmake.in
+++ b/config/cmake/HDF5_Examples.cmake.in
@@ -48,7 +48,11 @@ set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCTEST_CONFIGURATION_TYPE:STRING=${
##################################################################
if(NOT DEFINED INSTALLDIR)
- set(INSTALLDIR "C:/Program Files/HDF_Group/@HDF5_PACKAGE_NAME@/@HDF5_PACKAGE_VERSION@")
+ if(WIN32)
+ set(INSTALLDIR "C:/Program Files/HDF_Group/@HDF5_PACKAGE_NAME@/@HDF5_PACKAGE_VERSION@")
+ else()
+ set(INSTALLDIR "@CMAKE_INSTALL_PREFIX@")
+ endif()
endif()
if(NOT DEFINED CTEST_SOURCE_NAME)
@@ -70,7 +74,7 @@ set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DSITE:STRING=${CTEST_SITE} -DBUILDN
#TAR_SOURCE - name of tarfile
#if(NOT DEFINED TAR_SOURCE)
-# set(CTEST_USE_TAR_SOURCE "HDF5Examples-1.10.10-Source")
+# set(CTEST_USE_TAR_SOURCE "HDF5Examples-1.12.4-Source")
#endif()
###############################################################################################################