summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-12 11:13:44 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-15 19:36:22 (GMT)
commit1d74ba21f6ee70936191c94448c88fd10eb1e81c (patch)
treed0510984ba6ae576f92d4cdeb568ed0bdd91ceed /Tests
parent522bdac14963acf7c147f5518ea51382b042bf96 (diff)
downloadCMake-1d74ba21f6ee70936191c94448c88fd10eb1e81c.zip
CMake-1d74ba21f6ee70936191c94448c88fd10eb1e81c.tar.gz
CMake-1d74ba21f6ee70936191c94448c88fd10eb1e81c.tar.bz2
Test evaluation target via export for generator expressions
Diffstat (limited to 'Tests')
-rw-r--r--Tests/ExportImport/Export/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt
index fd7a1a6..dd615d1 100644
--- a/Tests/ExportImport/Export/CMakeLists.txt
+++ b/Tests/ExportImport/Export/CMakeLists.txt
@@ -186,7 +186,7 @@ set_property(TARGET testSharedLibDepends APPEND PROPERTY
)
set_property(TARGET testSharedLibDepends APPEND PROPERTY
LINK_INTERFACE_LIBRARIES
- $<1:$<TARGET_NAME:testSharedLibRequired>>
+ $<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:$<TARGET_NAME:testSharedLibRequired>>
)
# LINK_PRIVATE because the LINK_INTERFACE_LIBRARIES is specified above.