CMake: cmake-builder.sh "-c" takes an argument

This commit is contained in:
B. Scott Michel 2023-11-14 12:58:33 -08:00 committed by Paul Koning
parent dfda031f23
commit b3465af64e

View file

@ -153,7 +153,7 @@ fi
longopts=clean,help,flavor:,config:,nonetwork,novideo,notest,parallel,generate,testonly
longopts=${longopts},noinstall,installonly,verbose,target:,lto,debugWall,cppcheck,cpack_suffix:
ARGS=$(${getopt_prog} --longoptions $longopts --options xhf:cpg -- "$@")
ARGS=$(${getopt_prog} --longoptions $longopts --options xhf:c:pg -- "$@")
if [ $? -ne 0 ] ; then
showHelp "${scriptName}: Usage error (use -h for help.)"
fi