diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-06-02 16:44:51 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-06-02 16:44:51 (GMT) |
commit | 0a3f8239e65b9405634560bc5e648247748bcdfa (patch) | |
tree | 4af1560008ef528b91721bc6d928b66750d32dcf /config/cmake/HDF518_Examples.cmake.in | |
parent | 9905db41ee8e061303410f91474a1acea6ad6ceb (diff) | |
download | hdf5-0a3f8239e65b9405634560bc5e648247748bcdfa.zip hdf5-0a3f8239e65b9405634560bc5e648247748bcdfa.tar.gz hdf5-0a3f8239e65b9405634560bc5e648247748bcdfa.tar.bz2 |
Add toolset option
Diffstat (limited to 'config/cmake/HDF518_Examples.cmake.in')
-rw-r--r-- | config/cmake/HDF518_Examples.cmake.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDF518_Examples.cmake.in b/config/cmake/HDF518_Examples.cmake.in index 4f61563..6af0b09 100644 --- a/config/cmake/HDF518_Examples.cmake.in +++ b/config/cmake/HDF518_Examples.cmake.in @@ -17,8 +17,8 @@ cmake_minimum_required(VERSION 3.2.2 FATAL_ERROR) ############################################################################################################### set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@") -if() - set(CMAKE_GENERATOR_TOOLSET "@GENERATOR_TOOLSET@" +if("@CMAKE_GENERATOR_TOOLSET@") + set(CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@") endif() set(CTEST_DASHBOARD_ROOT ${CTEST_SCRIPT_DIRECTORY}) |