remove a warning on RUNNING_CGAL_AUTO_TEST

This commit is contained in:
Eric Berberich 2012-10-22 14:53:39 +00:00
parent 3692d4bba7
commit fdb1dc64a0
1 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@ if ( CGAL_FOUND AND CGAL_ImageIO_FOUND )
create_single_source_cgal_program( "mesh_an_implicit_function.cpp" ) create_single_source_cgal_program( "mesh_an_implicit_function.cpp" )
else() else()
if(RUNNING_CGAL_AUTO_TEST)
# Just to avoid a warning from CMake if that variable is set on the command line...
endif()
message(STATUS "NOTICE: This program requires the CGAL and CGAL ImageIO libraries, and will not be compiled.") message(STATUS "NOTICE: This program requires the CGAL and CGAL ImageIO libraries, and will not be compiled.")