summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/PositionIndependentCode/Conflict2.cmake
blob: 215d08dae59250210f0af752e455270392f8df1a (plain)
1
2
3
4
5
6
7
8
9

add_library(picon UNKNOWN IMPORTED)
set_property(TARGET picon PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)

add_library(picoff UNKNOWN IMPORTED)
set_property(TARGET picoff PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE OFF)

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