diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-11-18 21:34:04 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-11-18 21:34:04 (GMT) |
commit | 144e7a600c7db5a5ba23db882d7c1d6f758d82d2 (patch) | |
tree | f644532d6432befb9f87d5a5a9164dfe1cae5c6a /config/cmake/HDF5_Examples.cmake.in | |
parent | d82d2e981acb7506fcc6856f3deab9499bbf5fd6 (diff) | |
download | hdf5-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.in | 3 |
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. |