diff options
author | Brad King <brad.king@kitware.com> | 2015-09-08 14:24:38 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-09-08 14:24:38 (GMT) |
commit | 70ea1d91fad093e9ed8939a309688eef2458d697 (patch) | |
tree | bc6c6cbd13a4d6a8f44881d8f466d44ed1903947 /Tests/RunCMake/set_property/LINK_LIBRARIES.cmake | |
parent | 4da3315db365f3c80ce5202047955f0f2ec9312f (diff) | |
parent | b9856862fe46b04b25d99c3488899d6b12bd6e1a (diff) | |
download | CMake-70ea1d91fad093e9ed8939a309688eef2458d697.zip CMake-70ea1d91fad093e9ed8939a309688eef2458d697.tar.gz CMake-70ea1d91fad093e9ed8939a309688eef2458d697.tar.bz2 |
Merge topic 'fix-buildsystem-target-properties'
b9856862 Tests: Cover set_property for buildsystem target properties
407ff47e cmTarget: Fix memory leak when SOURCES property is cleared
cf74fc24 cmTarget: Fix buildsystem property empty value set and append operations
Diffstat (limited to 'Tests/RunCMake/set_property/LINK_LIBRARIES.cmake')
-rw-r--r-- | Tests/RunCMake/set_property/LINK_LIBRARIES.cmake | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Tests/RunCMake/set_property/LINK_LIBRARIES.cmake b/Tests/RunCMake/set_property/LINK_LIBRARIES.cmake index 994e874..5155f59 100644 --- a/Tests/RunCMake/set_property/LINK_LIBRARIES.cmake +++ b/Tests/RunCMake/set_property/LINK_LIBRARIES.cmake @@ -1,7 +1,2 @@ -add_custom_target(CustomTarget) -set_property(TARGET CustomTarget PROPERTY LINK_LIBRARIES) -set_property(TARGET CustomTarget APPEND PROPERTY LINK_LIBRARIES) -get_property(val TARGET CustomTarget PROPERTY LINK_LIBRARIES) -if (NOT "${val}" STREQUAL "") - message(FATAL_ERROR "LINK_LIBRARIES value is '${val}' but should be ''") -endif() +include(Common.cmake) +test_target_property(LINK_LIBRARIES) |