summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/PositionIndependentCode/Conflict5.cmake
blob: e6055f45081f47c9907b1ae975c472439055a28f (plain)
1
2
3
4
5
6
7
8
9

add_library(picon INTERFACE)
set_property(TARGET picon PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)

add_library(picoff INTERFACE)
set_property(TARGET picoff PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE OFF)

add_executable(conflict "main.cpp")
target_link_libraries(conflict picon picoff)