Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
397ee55cd62dcfcbafb4ff62b189a4192e07d1e5
/
.
/
Tests
/
RunCMake
/
GenEx-LINK_LIBRARY
/
feature-not-supported.cmake
blob: 0d952c28b9c6f18e72548c481d9bb30b2f18f9c2 [
file
]
enable_language
(
C
)
set
(
CMAKE_C_LINK_LIBRARY_USING_feat_SUPPORTED FALSE
)
set
(
CMAKE_C_LINK_LIBRARY_USING_feat
"<LIBRARY>"
)
add_library
(
dep SHARED empty
.
c
)
add_library
(
lib SHARED empty
.
c
)
target_link_libraries
(
lib PRIVATE
"$<LINK_LIBRARY:feat,dep>"
)