diff options
Diffstat (limited to 'Tests/RunCMake/GenEx-LINK_LIBRARY/incompatible-features2.cmake')
-rw-r--r-- | Tests/RunCMake/GenEx-LINK_LIBRARY/incompatible-features2.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Tests/RunCMake/GenEx-LINK_LIBRARY/incompatible-features2.cmake b/Tests/RunCMake/GenEx-LINK_LIBRARY/incompatible-features2.cmake index 1845fdb..d204ebd 100644 --- a/Tests/RunCMake/GenEx-LINK_LIBRARY/incompatible-features2.cmake +++ b/Tests/RunCMake/GenEx-LINK_LIBRARY/incompatible-features2.cmake @@ -1,10 +1,10 @@ enable_language(C) -set(CMAKE_C_LINK_USING_feat1_SUPPORTED TRUE) -set(CMAKE_C_LINK_USING_feat1 "<LIBRARY>") +set(CMAKE_C_LINK_LIBRARY_USING_feat1_SUPPORTED TRUE) +set(CMAKE_C_LINK_LIBRARY_USING_feat1 "<LIBRARY>") -set(CMAKE_C_LINK_USING_feat2_SUPPORTED TRUE) -set(CMAKE_C_LINK_USING_feat2 "<LIBRARY>") +set(CMAKE_C_LINK_LIBRARY_USING_feat2_SUPPORTED TRUE) +set(CMAKE_C_LINK_LIBRARY_USING_feat2 "<LIBRARY>") add_library(dep1 SHARED empty.c) @@ -12,4 +12,4 @@ add_library(dep2 SHARED empty.c) target_link_libraries(dep2 PUBLIC dep1) add_library(lib SHARED empty.c) -target_link_libraries(lib PRIVATE $<LINK_LIBRARY:feat2,dep1,dep2>) +target_link_libraries(lib PRIVATE "$<LINK_LIBRARY:feat2,dep1,dep2>") |