summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-08-03 17:37:36 (GMT)
committerBrad King <brad.king@kitware.com>2009-08-03 17:37:36 (GMT)
commit73de2362ddfcef151709e2162c0e384623da8890 (patch)
tree99c6a15307d8be45792c194ab8cbab0ea3585936 /Source/cmGlobalGenerator.h
parent1a159bbf331104fe680d3f37b703916a910a69f9 (diff)
downloadCMake-73de2362ddfcef151709e2162c0e384623da8890.zip
CMake-73de2362ddfcef151709e2162c0e384623da8890.tar.gz
CMake-73de2362ddfcef151709e2162c0e384623da8890.tar.bz2
Fix recursive try_compile calls
When building an entire source tree with try_compile instead of just a single source file, it is possible that the CMakeLists.txt file in the try-compiled project invokes try_compile. This commit fixes propagation of language-initialization results from the outer-most project into any number of try-compile levels.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 914e1da..4b60778 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -123,7 +123,7 @@ public:
///! Get the CMake instance
cmake *GetCMakeInstance() { return this->CMakeInstance; };
- void SetConfiguredFilesPath(const char* s){this->ConfiguredFilesPath = s;}
+ void SetConfiguredFilesPath(cmGlobalGenerator* gen);
const std::vector<cmLocalGenerator *>& GetLocalGenerators() const {
return this->LocalGenerators;}