mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05:00
655e98bf71
Before, the boolean version would always win, and the string one would be ignored.
10 lines
293 B
CMake
10 lines
293 B
CMake
|
|
add_library(foo UNKNOWN IMPORTED)
|
|
add_library(bar UNKNOWN IMPORTED)
|
|
|
|
set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_BOOL SOMETHING)
|
|
set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_STRING SOMETHING)
|
|
|
|
add_executable(user main.cpp)
|
|
target_link_libraries(user foo bar)
|