diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-11-18 21:42:21 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-11-18 21:42:21 (GMT) |
commit | ec145b88fa2adcb87483864a5a8296eda9223577 (patch) | |
tree | f7116b7d8ae37d903f9ad4262c8ac44aa525680d /config/cmake/HDF5_Examples.cmake.in | |
parent | 7200bce6462f023130edc6344333eb0d79cde7fc (diff) | |
download | hdf5-ec145b88fa2adcb87483864a5a8296eda9223577.zip hdf5-ec145b88fa2adcb87483864a5a8296eda9223577.tar.gz hdf5-ec145b88fa2adcb87483864a5a8296eda9223577.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 6951b09..5c21124 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. |