summaryrefslogtreecommitdiffstats
path: root/Source/cmContinueCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-07 18:01:58 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-07 18:02:44 (GMT)
commit378c2a0e860f32e0435844d7d6af79a4fdc2b455 (patch)
tree3ab57abbcb7c76aeeafe4ff28316284ceea122af /Source/cmContinueCommand.cxx
parent957c2aac7fb4833b333cf3362cb8c6918a8e8a82 (diff)
downloadCMake-378c2a0e860f32e0435844d7d6af79a4fdc2b455.zip
CMake-378c2a0e860f32e0435844d7d6af79a4fdc2b455.tar.gz
CMake-378c2a0e860f32e0435844d7d6af79a4fdc2b455.tar.bz2
Ninja: Refactor detection of MinGW tools on Windows
Check for CMAKE_COMPILER_IS_MINGW only after enabling a language when it might actually be set. Previously this worked by accident because the check for working compiler or a second language enabled would cause the code path to be taken. Store UsingMinGW as an instance member of cmGlobalNinjaGenerator so that it is reset on each reconfigure. Otherwise cmake-gui cannot switch between build trees for MinGW or non-MinGW tools.
Diffstat (limited to 'Source/cmContinueCommand.cxx')
0 files changed, 0 insertions, 0 deletions