summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Make/IncludeRegexSubdir.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-25 13:30:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-01-25 13:31:03 (GMT)
commit03050c5689f5b6bd91b378316a919018629133fc (patch)
tree79bb6290d068fd62e9315377f5f7a6a6111493d7 /Tests/RunCMake/Make/IncludeRegexSubdir.cmake
parent312512e2baa608e0eaaaa893114f07e40044f8b2 (diff)
parent2d64f9f08dab62a3aa2215e0ed8f3dd8bcdc1fbf (diff)
downloadCMake-03050c5689f5b6bd91b378316a919018629133fc.zip
CMake-03050c5689f5b6bd91b378316a919018629133fc.tar.gz
CMake-03050c5689f5b6bd91b378316a919018629133fc.tar.bz2
Merge topic 'fix-include_regular_expression-subdir'
2d64f9f0 include_regular_expression: Fix propagation to subdirectories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1690
Diffstat (limited to 'Tests/RunCMake/Make/IncludeRegexSubdir.cmake')
-rw-r--r--Tests/RunCMake/Make/IncludeRegexSubdir.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/Make/IncludeRegexSubdir.cmake b/Tests/RunCMake/Make/IncludeRegexSubdir.cmake
new file mode 100644
index 0000000..a7a93a0
--- /dev/null
+++ b/Tests/RunCMake/Make/IncludeRegexSubdir.cmake
@@ -0,0 +1,3 @@
+enable_language(C)
+include_regular_expression("^custom_include_regex$")
+add_subdirectory(IncludeRegexSubdir)