summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-01 13:57:28 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-12-01 13:57:28 (GMT)
commit22b72b189400c1a50030b59c378ebb68460ac7db (patch)
tree1370b3167da43fd982bcf28c2f3496f62f9518e7 /Tests
parent9f59caa9bd1aba3de27aa2fbab89b56c6b99d9b9 (diff)
parent672f1001c015bf5f531d8731dba30a5fb856edea (diff)
downloadCMake-22b72b189400c1a50030b59c378ebb68460ac7db.zip
CMake-22b72b189400c1a50030b59c378ebb68460ac7db.tar.gz
CMake-22b72b189400c1a50030b59c378ebb68460ac7db.tar.bz2
Merge topic 'fix-transitive-OBJECT_SOURCES-context'
672f1001 Genex: Fix evaluation context propagation for TARGET_OBJECTS.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/InterfaceLibrary/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/InterfaceLibrary/CMakeLists.txt b/Tests/InterfaceLibrary/CMakeLists.txt
index fe202dd..ee81419 100644
--- a/Tests/InterfaceLibrary/CMakeLists.txt
+++ b/Tests/InterfaceLibrary/CMakeLists.txt
@@ -22,8 +22,11 @@ add_library(objlib OBJECT obj.cpp)
add_library(iface_objlib INTERFACE)
target_sources(iface_objlib INTERFACE $<TARGET_OBJECTS:objlib>)
+add_library(intermediate INTERFACE)
+target_link_libraries(intermediate INTERFACE iface_objlib)
+
add_executable(InterfaceLibrary definetestexe.cpp)
-target_link_libraries(InterfaceLibrary iface_nodepends headeriface subiface iface_objlib)
+target_link_libraries(InterfaceLibrary iface_nodepends headeriface subiface intermediate)
add_subdirectory(libsdir)