You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
281 B
9 lines
281 B
11 years ago
|
|
||
|
add_library(picoff INTERFACE)
|
||
|
|
||
|
add_library(picon INTERFACE)
|
||
|
set_property(TARGET picon PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
|
||
|
|
||
|
add_executable(conflict "main.cpp")
|
||
|
target_link_libraries(conflict picon $<$<NOT:$<BOOL:$<TARGET_PROPERTY:POSITION_INDEPENDENT_CODE>>>:picoff>)
|