Sign in
fuchsia
/
third_party
/
cmake
/
f2eb9d645fbdf3fddfb72ba33c59f02f4b0ae24e
/
.
/
Tests
/
RunCMake
/
GenEx-LINK_LIBRARY
/
feature-not-supported.cmake
blob: 0d952c28b9c6f18e72548c481d9bb30b2f18f9c2 [
file
] [
log
] [
blame
]
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>"
)