diff options
author | Brad King <brad.king@kitware.com> | 2014-12-01 13:57:28 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-12-01 13:57:28 (GMT) |
commit | 22b72b189400c1a50030b59c378ebb68460ac7db (patch) | |
tree | 1370b3167da43fd982bcf28c2f3496f62f9518e7 /Tests | |
parent | 9f59caa9bd1aba3de27aa2fbab89b56c6b99d9b9 (diff) | |
parent | 672f1001c015bf5f531d8731dba30a5fb856edea (diff) | |
download | CMake-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.txt | 5 |
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) |