We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b8d9b4 commit 7753711Copy full SHA for 7753711
1 file changed
CMakeLists.txt
@@ -17,6 +17,10 @@ function(packageProject)
17
${ARGN}
18
)
19
20
+ if(DEFINED PROJECT_UNPARSED_ARGUMENTS)
21
+ message(FATAL_ERROR "Unknown arguments '${PROJECT_UNPARSED_ARGUMENTS}' in packageProject")
22
+ endif()
23
+
24
# optional feature: TRUE or FALSE or UNDEFINED! These variables will then hold the respective
25
# value from the argument list or be undefined if the associated one_value_keyword could not be
26
# found.
0 commit comments