diff options
author | Brad King <brad.king@kitware.com> | 2019-08-19 19:03:41 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-08-19 19:03:53 (GMT) |
commit | 0f914b7f26b80163c86cd07959d0f32912ce2fcc (patch) | |
tree | 071a4f3958785ae75913221ac77c9a2bec8305e4 /Source/cmStateSnapshot.cxx | |
parent | e977867a1245309b7fbd0e3faaff26c68087f491 (diff) | |
parent | 3b6c62be238f48b23d7dad302702f723dc5ef89c (diff) | |
download | CMake-0f914b7f26b80163c86cd07959d0f32912ce2fcc.zip CMake-0f914b7f26b80163c86cd07959d0f32912ce2fcc.tar.gz CMake-0f914b7f26b80163c86cd07959d0f32912ce2fcc.tar.bz2 |
Merge topic 'cmStringAlgorithms_IsOn'
3b6c62be23 cmSystemTools: Remove IsInternallyOn, IsNOTFOUND, IsOn, IsOff
20e580be01 Source sweep: Use cmIsOn instead of cmSystemTools::IsOn
5b7650216b cmStringAlgorithms: Add cmIsInternallyOn, cmIsNOTFOUND, cmIsOn, cmIsOff
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3691
Diffstat (limited to 'Source/cmStateSnapshot.cxx')
-rw-r--r-- | Source/cmStateSnapshot.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStateSnapshot.cxx b/Source/cmStateSnapshot.cxx index 110ec56..121923d 100644 --- a/Source/cmStateSnapshot.cxx +++ b/Source/cmStateSnapshot.cxx @@ -328,7 +328,7 @@ void cmStateSnapshot::SetDefaultDefinitions() #if defined(__CYGWIN__) std::string legacy; if (cmSystemTools::GetEnv("CMAKE_LEGACY_CYGWIN_WIN32", legacy) && - cmSystemTools::IsOn(legacy.c_str())) { + cmIsOn(legacy.c_str())) { this->SetDefinition("WIN32", "1"); this->SetDefinition("CMAKE_HOST_WIN32", "1"); } |