summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
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()