diff options
author | Brad King <brad.king@kitware.com> | 2016-11-22 13:41:03 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-11-22 13:41:03 (GMT) |
commit | 2420ce88f1cab64b9801b58f3c0c8abf7d615a2b (patch) | |
tree | f1f8d2cd26581756b3da47d94ff122d4bdf208cb /Tests | |
parent | de758cfaa1c70e8cfb5666b356e8df96d80ebd18 (diff) | |
parent | 460052516fdd06a2c0c765359f4d92006e67283b (diff) | |
download | CMake-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.txt | 1 |
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 |