5 lines
143 B
CMake
5 lines
143 B
CMake
|
|
||
|
add_library(foo SHARED empty.cpp)
|
||
|
add_library(bar SHARED empty.cpp)
|
||
|
target_link_libraries(foo $<$<STREQUAL:$<TARGET_FILE:foo>,anything>:bar>)
|