summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-22 13:41:03 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-22 13:41:03 (GMT)
commit2420ce88f1cab64b9801b58f3c0c8abf7d615a2b (patch)
treef1f8d2cd26581756b3da47d94ff122d4bdf208cb /Tests
parentde758cfaa1c70e8cfb5666b356e8df96d80ebd18 (diff)
parent460052516fdd06a2c0c765359f4d92006e67283b (diff)
downloadCMake-2420ce88f1cab64b9801b58f3c0c8abf7d615a2b.zip
CMake-2420ce88f1cab64b9801b58f3c0c8abf7d615a2b.tar.gz
CMake-2420ce88f1cab64b9801b58f3c0c8abf7d615a2b.tar.bz2
Merge topic 'imported-interface-no-system'
46005251 Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE libraries
Diffstat (limited to 'Tests')
-rw-r--r--Tests/InterfaceLibrary/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/InterfaceLibrary/CMakeLists.txt b/Tests/InterfaceLibrary/CMakeLists.txt
index 3db210a..33c4b90 100644
--- a/Tests/InterfaceLibrary/CMakeLists.txt
+++ b/Tests/InterfaceLibrary/CMakeLists.txt
@@ -64,6 +64,7 @@ target_link_libraries(iface_whitelist INTERFACE $<$<BOOL:$<TARGET_PROPERTY:CUSTO
add_executable(exec_whitelist dummy.cpp)
target_link_libraries(exec_whitelist iface_whitelist)
+set(CMAKE_NO_SYSTEM_FROM_IMPORTED 1)
add_library(iface_imported INTERFACE IMPORTED)
set_property(TARGET iface_imported PROPERTY
INTERFACE_COMPILE_DEFINITIONS