We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d7bca8 commit 990eb5fCopy full SHA for 990eb5f
cmake/HalideGeneratorHelpers.cmake
@@ -493,6 +493,14 @@ function(add_halide_library TARGET)
493
message(AUTHOR_WARNING "Arguments to add_halide_library were not recognized: ${ARG_UNPARSED_ARGUMENTS}")
494
endif ()
495
496
+ set(nonEmptyArgs ${oneValueArgs})
497
+ list(REMOVE_ITEM nonEmptyArgs AUTOSCHEDULER FUNCTION_NAME GENERATOR NAMESPACE USE_RUNTIME)
498
+ foreach (name IN LISTS ARG_KEYWORDS_MISSING_VALUES)
499
+ if (name IN_LIST nonEmptyArgs)
500
+ message(AUTHOR_WARNING "The argument ${name} passed to add_halide_library is undefined")
501
+ endif ()
502
+ endforeach ()
503
+
504
if (ARG_C_BACKEND AND ARG_TARGETS)
505
message(AUTHOR_WARNING "The C backend sources will be compiled with the current CMake toolchain.")
506
0 commit comments