summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF518_Examples.cmake.in
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-06-02 16:44:51 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-06-02 16:44:51 (GMT)
commit0a3f8239e65b9405634560bc5e648247748bcdfa (patch)
tree4af1560008ef528b91721bc6d928b66750d32dcf /config/cmake/HDF518_Examples.cmake.in
parent9905db41ee8e061303410f91474a1acea6ad6ceb (diff)
downloadhdf5-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.in4
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})