summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/LinkLibrariesProcessing/Invalid_UNICITY.cmake
blob: f423eef70f6dfe48ec5cc9f225a828b18cb76fbe (plain)
1
2
3
4
5
6
7
8
9

enable_language(C)

set(CMAKE_C_LINK_LIBRARIES_PROCESSING ORDER=REVERSE UNICITY=WRONG)

add_library(lib STATIC lib.c)

add_executable(main main.c)
target_link_libraries(main PRIVATE lib)