summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-07 20:34:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-13 22:16:21 (GMT)
commit0aa34de5493732d219dd3f58634222677bd19e22 (patch)
treefce3f2456ca397886c652f432f31da001c9f5b4d /Source/cmState.cxx
parent20b95ef8c83fbcb7705e72c85c9de18ff420562f (diff)
downloadCMake-0aa34de5493732d219dd3f58634222677bd19e22.zip
CMake-0aa34de5493732d219dd3f58634222677bd19e22.tar.gz
CMake-0aa34de5493732d219dd3f58634222677bd19e22.tar.bz2
cmState: Initialize properties immediately.
Don't leave this as cmMakefile responsibility.
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r--Source/cmState.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index 364b75e..01fd4e2 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -1381,6 +1381,10 @@ void cmState::Snapshot::SetDefaultDefinitions()
this->SetDefinition("CMAKE_FILES_DIRECTORY",
cmake::GetCMakeFilesDirectory());
+
+ // Setup the default include file regular expression (match everything).
+ this->Position->BuildSystemDirectory
+ ->Properties.SetProperty("INCLUDE_REGULAR_EXPRESSION", "^.*$");
}
void cmState::Snapshot::SetDirectoryDefinitions()