aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-14 12:13:49 +0000
committer_ov4 <ov4@ov4.org>2026-10-14 12:13:49 +0000
commit7594983f5d15ac15d34683e976ba78cb173fedd0 (patch)
tree7124aaadeef3b5dde988ccf9607e93537e766c0d /CMakeLists.txt
parentdc86a4c2bf6a87c06cd5a1f32bd69fdb0a20781a (diff)
fix(build): split LLVM definitions into separate arguments
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c5cce71..8ef5039 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,7 +35,8 @@ message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")
include_directories(${LLVM_INCLUDE_DIRS})
-add_definitions(${LLVM_DEFINITIONS})
+separate_arguments(LLVM_DEFINITIONS_LIST NATIVE_COMMAND "${LLVM_DEFINITIONS}")
+add_definitions(${LLVM_DEFINITIONS_LIST})
set(CMAKE_CXX_STANDARD 17)