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

Link cgal on macos

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6488 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ee619a65
......@@ -48,6 +48,18 @@ IF(CGAL_INCLUDE_DIR )
DOC "Directory containing the CGAL library"
)
ENDIF(WIN32)
IF(APPLE)
include(CGAL_GeneratorSpecificSettings)
find_path(CGAL_LIBRARY_DIR
NAMES "libCGAL.dylib"
PATHS "${CMAKE_SOURCE_DIR}/MacOS/Libs/CGAL-3.4/lib"
DOC "Directory containing the CGAL library"
)
list ( APPEND CGAL_LIBRARIES CGAL CGAL_Core CGAL_ImageIO CGAL_PDB CGAL_Qt4)
ENDIF(APPLE)
add_definitions (-DCGAL_AUTOLINK)
......
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