summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/LinkLibrariesProcessing/InvalidConfiguration2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/LinkLibrariesProcessing/InvalidConfiguration2.cmake')
-rw-r--r--Tests/RunCMake/LinkLibrariesProcessing/InvalidConfiguration2.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/LinkLibrariesProcessing/InvalidConfiguration2.cmake b/Tests/RunCMake/LinkLibrariesProcessing/InvalidConfiguration2.cmake
new file mode 100644
index 0000000..c9da734
--- /dev/null
+++ b/Tests/RunCMake/LinkLibrariesProcessing/InvalidConfiguration2.cmake
@@ -0,0 +1,9 @@
+
+enable_language(C)
+
+set(CMAKE_C_LINK_LIBRARIES_PROCESSING UNICITY=ALL ORDER)
+
+add_library(lib STATIC lib.c)
+
+add_executable(main main.c)
+target_link_libraries(main PRIVATE lib)