From 1a4ea55104c72bb60618bd0846cac2bd16f28d71 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Sun, 18 Aug 2024 09:15:05 +0200 Subject: [PATCH] Fix command line option for --gcc-install-dir --- cpp/cmake_modules/GandivaAddBitcode.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/cmake_modules/GandivaAddBitcode.cmake b/cpp/cmake_modules/GandivaAddBitcode.cmake index 0ad06331f4e2f..b17a3da39243e 100644 --- a/cpp/cmake_modules/GandivaAddBitcode.cmake +++ b/cpp/cmake_modules/GandivaAddBitcode.cmake @@ -62,8 +62,7 @@ function(gandiva_add_bitcode SOURCE) if(GCC_TOOLCHAIN_ROOT) list(APPEND PRECOMPILE_COMMAND - --gcc-install-dir - ${GCC_TOOLCHAIN_ROOT}) + --gcc-install-dir="${GCC_TOOLCHAIN_ROOT}") endif() if(ARROW_BINARY_DIR) list(APPEND PRECOMPILE_COMMAND -I${ARROW_BINARY_DIR}/src)