mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 15:48:52 +00:00
79db8ef78d
Don't refer to 'both', but a 'mixture'. List all compatible interface property types possible. Add another test for a mixture of three compatibilities.
10 lines
326 B
CMake
10 lines
326 B
CMake
|
|
add_library(foo UNKNOWN IMPORTED)
|
|
|
|
set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_BOOL OTHER)
|
|
set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_STRING OTHER)
|
|
set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_NUMBER_MIN OTHER)
|
|
|
|
add_executable(user main.cpp)
|
|
target_link_libraries(user foo)
|