From bc4514ac9b21149c2095e450db70903bebe13c27 Mon Sep 17 00:00:00 2001 From: "Eric A. Borisch" Date: Mon, 17 Nov 2025 15:27:50 +0000 Subject: [PATCH] EigenTesting.cmake: Quote argument to separate_arguments. As described in https://cmake.org/cmake/help/latest/command/separate_arguments.html: "The entire command line must be passed as one string in the argument ." --- 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() -- GitLab