Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
cfa04b36fd6825747da1bd8ac276ce1ee390c20d
/
.
/
Tests
/
RunCMake
/
GenEx-LINK_LIBRARY
/
bad-feature6.cmake
blob: 7b72ad514ac4a602acd5f313cae23d513eae4a5e [
file
]
enable_language
(
C
)
set
(
CMAKE_C_LINK_USING_feat_SUPPORTED TRUE
)
set
(
CMAKE_C_LINK_USING_feat
"PATH{}NAME{<LIBRARY>}"
)
add_library
(
dep SHARED empty
.
c
)
add_library
(
lib SHARED empty
.
c
)
target_link_libraries
(
lib PRIVATE
"$<LINK_LIBRARY:feat,dep>"
)