Commit c374932c authored by Jan Möbius's avatar Jan Möbius
Browse files

Dennis: Don't stop processing if cgal was not found.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7004 383ad7c9-94d9-4d36-a494-682f7c89f535
parent cba59508
......@@ -18,10 +18,9 @@ if (GMP_INCLUDE_DIR AND GMP_LIBRARY_DIR )
else()
find_package(CGAL)
if (NOT CGAL_FOUND)
message(FATAL_ERROR "CGAL not found .. required to use taucs!")
endif()
message(STATUS "CGAL not found .. required to use taucs!")
set(GMP_FOUND FALSE)
else ()
find_path(GMP_INCLUDE_DIR
NAMES gmp.h
PATHS "${CGAL_INCLUDE_DIR}/../auxiliary/gmp/include"
......@@ -60,4 +59,5 @@ else()
find_package_handle_standard_args(GMP "DEFAULT_MSG" GMP_INCLUDE_DIR GMP_LIBRARY_DIR)
endif()
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment