summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/alias_targets/target_link_libraries.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/alias_targets/target_link_libraries.cmake')
-rw-r--r--Tests/RunCMake/alias_targets/target_link_libraries.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/alias_targets/target_link_libraries.cmake b/Tests/RunCMake/alias_targets/target_link_libraries.cmake
new file mode 100644
index 0000000..b7b9e60
--- /dev/null
+++ b/Tests/RunCMake/alias_targets/target_link_libraries.cmake
@@ -0,0 +1,9 @@
+
+enable_language(CXX)
+
+add_library(foo empty.cpp)
+add_library(bar empty.cpp)
+
+add_library(alias ALIAS foo)
+
+target_link_libraries(alias bar)