From e75c29fd9db885feee89896cdb286d2b7fa072c8 Mon Sep 17 00:00:00 2001 From: "Eric A. Borisch" Date: Mon, 17 Nov 2025 17:22:44 +0000 Subject: [PATCH] EigenTesting.cmake: Quote argument to separate_arguments. libeigen/eigen!2077 Closes #3005 and #2866 --- cmake/EigenTesting.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index d140fe6e8..2a44f05c3 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -75,7 +75,7 @@ macro(ei_add_test_internal testname testname_with_suffix) # let the user pass flags. if(${ARGC} GREATER 2) - separate_arguments(compile_options NATIVE_COMMAND ${ARGV2}) + separate_arguments(compile_options NATIVE_COMMAND "${ARGV2}") target_compile_options(${targetname} PRIVATE ${compile_options}) endif()