mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -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
107 B
CMake
5 lines
107 B
CMake
enable_language(C)
|
|
|
|
add_library(lib SHARED empty.c)
|
|
target_link_libraries(lib PRIVATE "$<LINK_LIBRARY:,>")
|