mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
42965799b4
This generator expression offers the capability, for the link step, to decorate libraries with prefix/suffix flags and/or adding any specific flag for each library. Fixes: #22812, #18751, #20078, #22703
5 lines
116 B
CMake
5 lines
116 B
CMake
enable_language(C)
|
|
|
|
add_library(empty SHARED empty.c)
|
|
target_link_directories(empty PRIVATE "$<LINK_LIBRARY:feat>")
|