We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eaa7f3 commit 1cfd46fCopy full SHA for 1cfd46f
openmp/cmake/HandleOpenMPOptions.cmake
@@ -9,6 +9,14 @@ if (NOT COMMAND append_if)
9
endfunction()
10
endif()
11
12
+if (NOT COMMAND append)
13
+ function(append value)
14
+ foreach(variable ${ARGN})
15
+ set(${variable} "${${variable}} ${value}" PARENT_SCOPE)
16
+ endforeach(variable)
17
+ endfunction()
18
+endif()
19
+
20
# MSVC and clang-cl in compatibility mode map -Wall to -Weverything.
21
# TODO: LLVM adds /W4 instead, check if that works for the OpenMP runtimes.
22
if (NOT MSVC)
0 commit comments