Commit 827ca519 authored by Jan Möbius's avatar Jan Möbius

Added CGAL library dir

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6239 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 81daede0
......@@ -28,6 +28,17 @@ IF(CGAL_INCLUDE_DIR )
# Look for the taucs dir.
FIND_PATH(CGAL_TAUCS_DIR NAMES include/taucs.h
PATHS ${CGAL_INCLUDE_DIR}/../auxiliary/taucs)
IF(WIN32)
include(CGAL_GeneratorSpecificSettings)
find_path(CGAL_LIBRARY_DIR
NAMES "CGAL-${CGAL_TOOLSET}-mt.lib" "CGAL-${CGAL_TOOLSET}-mt-gd.lib"
PATHS "${CGAL_INCLUDE_DIR}/../lib"
DOC "Directory containing the CGAL library"
)
ENDIF(WIN32)
add_definitions (-DCGAL_AUTOLINK)
ELSE(CGAL_INCLUDE_DIR )
SET(CGAL_FOUND 0)
......
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