summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5_Examples.cmake.in
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-11-18 21:34:04 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-11-18 21:34:04 (GMT)
commit144e7a600c7db5a5ba23db882d7c1d6f758d82d2 (patch)
treef644532d6432befb9f87d5a5a9164dfe1cae5c6a /config/cmake/HDF5_Examples.cmake.in
parentd82d2e981acb7506fcc6856f3deab9499bbf5fd6 (diff)
downloadhdf5-144e7a600c7db5a5ba23db882d7c1d6f758d82d2.zip
hdf5-144e7a600c7db5a5ba23db882d7c1d6f758d82d2.tar.gz
hdf5-144e7a600c7db5a5ba23db882d7c1d6f758d82d2.tar.bz2
HDFFV-10962 add VS2019 support
Diffstat (limited to 'config/cmake/HDF5_Examples.cmake.in')
-rw-r--r--config/cmake/HDF5_Examples.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/cmake/HDF5_Examples.cmake.in b/config/cmake/HDF5_Examples.cmake.in
index 016bec5..4fde0a4 100644
--- a/config/cmake/HDF5_Examples.cmake.in
+++ b/config/cmake/HDF5_Examples.cmake.in
@@ -20,6 +20,9 @@ set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
if("@CMAKE_GENERATOR_TOOLSET@")
set(CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
endif()
+if("@CMAKE_GENERATOR_ARCHITECTURE@")
+ set(CMAKE_GENERATOR_ARCHITECTURE "@CMAKE_GENERATOR_ARCHITECTURE@")
+endif()
set(CTEST_DASHBOARD_ROOT ${CTEST_SCRIPT_DIRECTORY})
# handle input parameters to script.