diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-14 12:13:49 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-14 12:13:49 +0000 |
| commit | 7594983f5d15ac15d34683e976ba78cb173fedd0 (patch) | |
| tree | 7124aaadeef3b5dde988ccf9607e93537e766c0d /CMakeLists.txt | |
| parent | dc86a4c2bf6a87c06cd5a1f32bd69fdb0a20781a (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.txt | 3 |
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) |
