cherry-pick !1682 Add nvc++ support into 3.4

This commit is contained in:
Morris Hafner
2024-11-04 17:55:47 +00:00
committed by Rasmus Munk Larsen
parent 9df21dc8b4
commit 3e7bcf54f7
3 changed files with 14 additions and 9 deletions

View File

@@ -81,6 +81,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})
ei_add_target_property(${targetname} COMPILE_FLAGS "${ARGV2}")
endif()