aboutsummaryrefslogtreecommitdiff
path: root/openmp/cmake
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2023-11-27 09:22:34 -0600
committerJoseph Huber <huberjn@outlook.com>2023-11-27 09:23:15 -0600
commitca007181eadf9bce357e382400cfddb5b925c142 (patch)
tree6fc1b26c79635ed6b075d0fc3b0f2a5cd6441c86 /openmp/cmake
parentfb23fabc190f528e09d85505c094666bb75fbf11 (diff)
downloadllvm-ca007181eadf9bce357e382400cfddb5b925c142.zip
llvm-ca007181eadf9bce357e382400cfddb5b925c142.tar.gz
llvm-ca007181eadf9bce357e382400cfddb5b925c142.tar.bz2
[OpenMP] Fix missing CMake function in runtimes build
Summary: We borrowed this function from LLVM, my previous patch removed that. Now we redefine it if it's not present.
Diffstat (limited to 'openmp/cmake')
-rw-r--r--openmp/cmake/HandleOpenMPOptions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/cmake/HandleOpenMPOptions.cmake b/openmp/cmake/HandleOpenMPOptions.cmake
index 4d6782a..a79b04e 100644
--- a/openmp/cmake/HandleOpenMPOptions.cmake
+++ b/openmp/cmake/HandleOpenMPOptions.cmake
@@ -1,4 +1,4 @@
-if (OPENMP_STANDALONE_BUILD)
+if (NOT COMMAND append_if)
# From HandleLLVMOptions.cmake
function(append_if condition value)
if (${condition})