diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-02-16 17:34:28 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-02-16 17:34:28 (GMT) |
commit | 397ee55cd62dcfcbafb4ff62b189a4192e07d1e5 (patch) | |
tree | 47b3304aac407847d1afd338949e04358c4ed72f /Tests/RunCMake/GenEx-LINK_LIBRARY/compatible-features.cmake | |
parent | 1e495fdab92b8ce5f2778c0cbc5e0ed55b056b98 (diff) | |
download | CMake-397ee55cd62dcfcbafb4ff62b189a4192e07d1e5.zip CMake-397ee55cd62dcfcbafb4ff62b189a4192e07d1e5.tar.gz CMake-397ee55cd62dcfcbafb4ff62b189a4192e07d1e5.tar.bz2 |
genex-LINK_LIBRARY: rename configuration variables
To be more consistent between genex and variables as well as
the forecomming LINK_GROUP genex, rename variable *_LINK_USING_<FEATURE>*
in *_LINK_LIBRARY_USING_<FEATURE>*
Diffstat (limited to 'Tests/RunCMake/GenEx-LINK_LIBRARY/compatible-features.cmake')
-rw-r--r-- | Tests/RunCMake/GenEx-LINK_LIBRARY/compatible-features.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Tests/RunCMake/GenEx-LINK_LIBRARY/compatible-features.cmake b/Tests/RunCMake/GenEx-LINK_LIBRARY/compatible-features.cmake index 2579a5f..fb88e36 100644 --- a/Tests/RunCMake/GenEx-LINK_LIBRARY/compatible-features.cmake +++ b/Tests/RunCMake/GenEx-LINK_LIBRARY/compatible-features.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) @@ -15,7 +15,7 @@ add_library(dep3 SHARED empty.c) target_link_libraries(dep3 PUBLIC dep2) add_library(lib1 SHARED empty.c) -target_link_libraries(lib1 PRIVATE $<LINK_LIBRARY:feat2,dep1,dep2>) +target_link_libraries(lib1 PRIVATE "$<LINK_LIBRARY:feat2,dep1,dep2>") add_library(lib2 SHARED empty.c) -target_link_libraries(lib2 PRIVATE $<LINK_LIBRARY:DEFAULT,dep2,dep3>) +target_link_libraries(lib2 PRIVATE "$<LINK_LIBRARY:DEFAULT,dep2,dep3>") |