Skip to content

Commit fb705c8

Browse files
author
Francois Budin
committed
BUG: Wrong unparsed arguments variable name
Unparsed arguments are saved in <prefix>_UNPARSED_ARGUMENTS [1]. In this case, <prefix> is LOCAL_SEM, so the variable containing the unparsed arguments is called LOCAL_SEM_UNPARSED_ARGUMENTS. [1] https://cmake.org/cmake/help/v3.0/module/CMakeParseArguments.html
1 parent 311eff9 commit fb705c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMake/SEMMacroBuildCLI.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ macro(SEMMacroBuildCLI)
4949
message(STATUS "${curr_opt} = ${LOCAL_SEM_${curr_opt}}")
5050
endforeach()
5151
endif()
52-
if(LOCAL_SEM_INSTALL_UNPARSED_ARGUMENTS)
53-
message(AUTHOR_WARNING "Unparsed arguments given [${LOCAL_SEM_INSTALL_UNPARSED_ARGUMENTS}]")
52+
if(LOCAL_SEM_UNPARSED_ARGUMENTS)
53+
message(AUTHOR_WARNING "Unparsed arguments given [${LOCAL_SEM_UNPARSED_ARGUMENTS}]")
5454
endif()
5555
# --------------------------------------------------------------------------
5656
# Sanity checks

0 commit comments

Comments
 (0)