mirror of https://github.com/CGAL/cgal
Fix CMake warnings about unused variables set on command line
`RUNNING_CGAL_AUTO_TEST` and `CGAL_DIR` are set on the command line by our `cgal_test` scripts. -> Add the option `--no-warn-unused-cli` to avoid warnings when the variables are actually not used (for example if a dependency is not satisfied).
This commit is contained in:
parent
4c4b9a0fd8
commit
d97b4001b3
|
|
@ -82,6 +82,7 @@ configure()
|
||||||
|
|
||||||
if eval 'cmake "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \\
|
if eval 'cmake "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \\
|
||||||
-DCGAL_DIR="\$CGAL_DIR" \\
|
-DCGAL_DIR="\$CGAL_DIR" \\
|
||||||
|
--no-warn-unused-cli \\
|
||||||
.' ; then
|
.' ; then
|
||||||
|
|
||||||
echo " successful configuration" >> \$ERRORFILE
|
echo " successful configuration" >> \$ERRORFILE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue