Add nvc++ support

This commit is contained in:
Morris Hafner
2024-08-30 12:34:48 +00:00
committed by Rasmus Munk Larsen
parent c59332d74a
commit 26e2c4f617
3 changed files with 15 additions and 10 deletions

View File

@@ -75,7 +75,8 @@ macro(ei_add_test_internal testname testname_with_suffix)
# let the user pass flags.
if(${ARGC} GREATER 2)
target_compile_options(${targetname} PRIVATE ${ARGV2})
separate_arguments(compile_options NATIVE_COMMAND ${ARGV2})
target_compile_options(${targetname} PRIVATE ${compile_options})
endif()
if(EIGEN_TEST_CUSTOM_CXX_FLAGS)