1
0
Fork 0

More CGAL cmake changes

This commit is contained in:
Christian Schmitt 2012-09-02 12:28:02 +02:00
parent 85ad4573ec
commit d6e7ac6b96
2 changed files with 3 additions and 1 deletions

View file

@ -72,7 +72,7 @@ find_package(ZLIB REQUIRED)
find_package(Threads REQUIRED)
find_package(SimGear 2.5.0 REQUIRED)
find_package(GPC REQUIRED)
find_package(CGAL REQUIRED)
find_package(CGAL COMPONENTS Core REQUIRED)
find_package(TIFF) # needed for SRTM
if (CMAKE_CL_64)
find_package(JPEG) # needed for SRTM

View file

@ -2,6 +2,8 @@ if (GDAL_FOUND)
include_directories(${GDAL_INCLUDE_DIR})
endif (GDAL_FOUND)
include( ${CGAL_USE_FILE} )
add_library(Geometry STATIC
contour_tree.cxx
line.cxx