summaryrefslogtreecommitdiff
path: root/runtimes
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2024-11-06 10:39:19 +0100
committerGitHub <noreply@github.com>2024-11-06 10:39:19 +0100
commitc6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c (patch)
treedbfd623fea1771448ff564d5fc4221db7fca2f84 /runtimes
parent5acc4a3dc0e2145d2bfef47f1543bb291c2b866a (diff)
[libc++] Refactor the configuration macros to being always defined (#112094)
This is a follow-up to #89178. This updates the `<__config_site>` macros.
Diffstat (limited to 'runtimes')
-rw-r--r--runtimes/cmake/Modules/HandleFlags.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/runtimes/cmake/Modules/HandleFlags.cmake b/runtimes/cmake/Modules/HandleFlags.cmake
index 4a62b67169e4..1c744a0aa0ae 100644
--- a/runtimes/cmake/Modules/HandleFlags.cmake
+++ b/runtimes/cmake/Modules/HandleFlags.cmake
@@ -85,12 +85,6 @@ macro(config_define_if condition def)
endif()
endmacro()
-macro(config_define_if_not condition def)
- if (NOT ${condition})
- set(${def} ON)
- endif()
-endmacro()
-
macro(config_define value def)
set(${def} ${value})
endmacro()