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

enable_language(C)

set(CMAKE_C_LINK_LIBRARIES_PROCESSING DEDUPLICATION=ALL ORDER)

add_library(lib STATIC lib.c)

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