Commit b8e6d551 authored by Mohcine Chraibi's avatar Mohcine Chraibi

Don't try to find CGAL, if not needed

parent 6fd4a1a0
Pipeline #9461 failed with stages
in 8 minutes and 27 seconds
......@@ -204,9 +204,10 @@ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
#boost
find_package(Boost COMPONENTS timer chrono system filesystem unit_test_framework REQUIRED)
if(AIROUTER)
#CGAL
find_package(CGAL QUIET) # for AI router
find_package(CGAL REQUIRED) # for AI router
endif()
# test all cpp-files in Utest
if (BUILD_TESTING OR BUILD_CPPUNIT_TEST)
......
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