Bläddra i källkod

added 'Found CGAL' line

Former-commit-id: 4a1e6d140673e4a3f4547f74c4a5cec8f4a1477a
Alec Jacobson 9 år sedan
förälder
incheckning
d87c41aeb9
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      tutorial/cmake/FindCGAL.cmake

+ 3 - 1
tutorial/cmake/FindCGAL.cmake

@@ -81,7 +81,9 @@ if ( CGAL_DIR )
 
 
 endif()
 endif()
 
 
-if( NOT CGAL_FOUND)
+if(CGAL_FOUND)
+  MESSAGE(STATUS "Found CGAL: ${CGAL_DIR}")
+else()
   if(CGAL_FIND_REQUIRED)
   if(CGAL_FIND_REQUIRED)
     MESSAGE(FATAL_ERROR ${CGAL_DIR_MESSAGE})
     MESSAGE(FATAL_ERROR ${CGAL_DIR_MESSAGE})
   else()
   else()