summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/alias_targets/target_include_directories.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/alias_targets/target_include_directories.cmake')
-rw-r--r--Tests/RunCMake/alias_targets/target_include_directories.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/alias_targets/target_include_directories.cmake b/Tests/RunCMake/alias_targets/target_include_directories.cmake
new file mode 100644
index 0000000..c26830e
--- /dev/null
+++ b/Tests/RunCMake/alias_targets/target_include_directories.cmake
@@ -0,0 +1,8 @@
+
+enable_language(CXX)
+
+add_library(foo empty.cpp)
+
+add_library(alias ALIAS foo)
+
+target_include_directories(alias PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>)