summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLujin Wang <143145775+lujinwangnv@users.noreply.github.com>2025-10-10 17:51:58 -0700
committerGitHub <noreply@github.com>2025-10-11 00:51:58 +0000
commitd0641da8c7f27dfca5b0ae3bc7c737c7859e3939 (patch)
tree275a84f0a987e63cad7eba68d0df248044d13a5c /CMakeLists.txt
parentfb34bafd37e3509d51686ee2a5392d2d8e29d7c5 (diff)
Update build to allow setting external mimalloc path (#8676)
Update the build to allow setting user-specific path for the external module mimalloc.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dc22e75f9..265266da5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -270,6 +270,11 @@ advanced_option(
"Build using user defined path for lua"
OFF
)
+advanced_option(
+ SLANG_OVERRIDE_MIMALLOC_PATH
+ "Build using user defined path for mimalloc"
+ OFF
+)
advanced_option(
SLANG_EXCLUDE_DAWN