diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-11-10 18:22:11 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-11-10 18:22:11 (GMT) |
commit | e40faaa8fbc8490af626dd9da3ff741284327e65 (patch) | |
tree | 533a491a26174d0b71eca282a58dbad64d858a5a | |
parent | 17ea6aac2008a9e0786c53ffc01acdef5a6b390b (diff) | |
download | hdf5-e40faaa8fbc8490af626dd9da3ff741284327e65.zip hdf5-e40faaa8fbc8490af626dd9da3ff741284327e65.tar.gz hdf5-e40faaa8fbc8490af626dd9da3ff741284327e65.tar.bz2 |
Update installdir format for windows
-rwxr-xr-x | config/cmake/scripts/HDF5config.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/scripts/HDF5config.cmake b/config/cmake/scripts/HDF5config.cmake index 2874a74..2b1b097 100755 --- a/config/cmake/scripts/HDF5config.cmake +++ b/config/cmake/scripts/HDF5config.cmake @@ -82,7 +82,7 @@ set(CTEST_CONFIGURATION_TYPE "$ENV{CMAKE_CONFIG_TYPE}") if(NOT DEFINED INSTALLDIR)
if(WIN32)
- set(INSTALLDIR "C:\\Program\ Files\\HDF_Group\\HDF5\\${CTEST_SOURCE_VERSION}")
+ set(INSTALLDIR "C:/Program Files/HDF_Group/HDF5/${CTEST_SOURCE_VERSION}")
else()
set(INSTALLDIR "${CTEST_SCRIPT_DIRECTORY}/HDF_Group/HDF5/${CTEST_SOURCE_VERSION}")
endif()
@@ -232,7 +232,7 @@ endif() set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_PACKAGE_EXTLIBS:BOOL=ON")
### change install prefix
-set(BUILD_OPTIONS "${BUILD_OPTIONS} -DCMAKE_INSTALL_PREFIX:PATH='${INSTALLDIR}'")
+set(BUILD_OPTIONS "${BUILD_OPTIONS} -DCMAKE_INSTALL_PREFIX:PATH=${INSTALLDIR}")
set(BUILD_OPTIONS "${BUILD_OPTIONS} -DCTEST_CONFIGURATION_TYPE:STRING=$ENV{CMAKE_CONFIG_TYPE}")
###################################################################
|