mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
EigenTesting.cmake: Quote argument to separate_arguments.
libeigen/eigen!2077 Closes #3005 and #2866
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
dcbaf2d608
commit
e75c29fd9d
@@ -75,7 +75,7 @@ macro(ei_add_test_internal testname testname_with_suffix)
|
|||||||
|
|
||||||
# let the user pass flags.
|
# let the user pass flags.
|
||||||
if(${ARGC} GREATER 2)
|
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})
|
target_compile_options(${targetname} PRIVATE ${compile_options})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user