summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-10 15:44:59 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-10 16:40:18 (GMT)
commitc40229968cec39590ccdf54402625c83b44581a0 (patch)
treea33f3d07cd18867bfb2ff5aaf56dee795e26e127 /Tests/CMakeCommands
parent3795dea6f1d4ca9bc1a2131173ed190f6c362fbe (diff)
downloadCMake-c40229968cec39590ccdf54402625c83b44581a0.zip
CMake-c40229968cec39590ccdf54402625c83b44581a0.tar.gz
CMake-c40229968cec39590ccdf54402625c83b44581a0.tar.bz2
target_link_libraries: Add FIXME comment for out-of-dir genex list
Issue: #20204
Diffstat (limited to 'Tests/CMakeCommands')
-rw-r--r--Tests/CMakeCommands/target_link_libraries/SubDirB/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_link_libraries/SubDirB/CMakeLists.txt b/Tests/CMakeCommands/target_link_libraries/SubDirB/CMakeLists.txt
index 7c918e6..10f926a 100644
--- a/Tests/CMakeCommands/target_link_libraries/SubDirB/CMakeLists.txt
+++ b/Tests/CMakeCommands/target_link_libraries/SubDirB/CMakeLists.txt
@@ -4,6 +4,9 @@ add_executable(SubDirB SubDirB.c)
# be visible to the directory in which TopDir is defined.
target_link_libraries(TopDir PUBLIC SameNameImported)
+#FIXME: Demonstrate known issue #20204.
+#target_link_libraries(TopDir PUBLIC "$<1:SameNameImported;SameNameImported>")
+
# Link SubDirA to a target imported in this directory that has the same
# name as a target imported in SubDirA's directory. We verify when
# compiling SubDirA that it sees our target and its own.