summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-04-17 13:50:14 (GMT)
committerBrad King <brad.king@kitware.com>2019-04-17 13:50:14 (GMT)
commitfb15c27562856e01565d6903d38b9c4ab73c3fa8 (patch)
tree4f7090e01d61000434f48900966fcf1319181c6c /Source/kwsys/CMakeLists.txt
parent8d5eb9787885d21d5d20630473c11a79250ca28e (diff)
parent0225b05afea1d291e37e29b361f4252c4313aab2 (diff)
downloadCMake-fb15c27562856e01565d6903d38b9c4ab73c3fa8.zip
CMake-fb15c27562856e01565d6903d38b9c4ab73c3fa8.tar.gz
CMake-fb15c27562856e01565d6903d38b9c4ab73c3fa8.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2019-04-17 (c42b92f0)
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r--Source/kwsys/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index db4ef90..1302c64 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -465,6 +465,14 @@ IF(KWSYS_USE_DynamicLoader)
ENDIF()
IF(KWSYS_USE_SystemTools)
+ if (NOT DEFINED KWSYS_SYSTEMTOOLS_USE_TRANSLATION_MAP)
+ set(KWSYS_SYSTEMTOOLS_USE_TRANSLATION_MAP 1)
+ endif ()
+ if (KWSYS_SYSTEMTOOLS_USE_TRANSLATION_MAP)
+ set(KWSYS_SYSTEMTOOLS_USE_TRANSLATION_MAP 1)
+ else ()
+ set(KWSYS_SYSTEMTOOLS_USE_TRANSLATION_MAP 0)
+ endif ()
KWSYS_PLATFORM_CXX_TEST(KWSYS_CXX_HAS_SETENV
"Checking whether CXX compiler has setenv" DIRECT)
KWSYS_PLATFORM_CXX_TEST(KWSYS_CXX_HAS_UNSETENV