We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b991b58 commit e350476Copy full SHA for e350476
1 file changed
src/Tests.cmake
@@ -166,7 +166,9 @@ function(_get_configs_execute_args variable_name)
166
167
foreach(config IN LISTS ARGN)
168
get_target_property(execute_args ${config} PROJECT_OPTIONS_EXECUTE_ARGS)
169
- list(APPEND variable_name ${execute_args})
+ if(execute_args)
170
+ list(APPEND variable_name ${execute_args})
171
+ endif()
172
endforeach()
173
174
set(${variable_name} ${value} PARENT_SCOPE)
0 commit comments