ff015ee11e
Constructs such as target_link_libraries(foo $<$<STREQUAL:$<TARGET_FILE:foo>,foo.so>:bar>) segfault before this patch.
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>)
|