mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
ff015ee11e
Constructs such as target_link_libraries(foo $<$<STREQUAL:$<TARGET_FILE:foo>,foo.so>:bar>) segfault before this patch.
7 lines
165 B
CMake
7 lines
165 B
CMake
|
|
enable_language(CXX)
|
|
|
|
add_library(foo SHARED empty.cpp)
|
|
add_library(bar SHARED empty.cpp)
|
|
target_link_libraries(foo $<$<STREQUAL:$<TARGET_FILE:bar>,anything>:bar>)
|