cmake/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict.cmake

9 lines
255 B
CMake
Raw Normal View History

2013-03-16 19:13:01 +02:00
add_library(foo 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)
2014-08-03 19:52:23 +02:00
target_link_libraries(user foo)