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

Use absolute paths for cgal on apple

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8447 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d9600a9b
......@@ -18,7 +18,6 @@ if ( NOT CGAL_GENERATOR_SPECIFIC_SETTINGS_FILE_INCLUDED )
IF (APPLE)
exec_program(uname ARGS -v OUTPUT_VARIABLE DARWIN_VERSION)
string(REGEX MATCH "[0-9]+" DARWIN_VERSION ${DARWIN_VERSION})
message(STATUS "DARWIN_VERSION=${DARWIN_VERSION}")
if (DARWIN_VERSION GREATER 8)
set(CGAL_APPLE_LEOPARD 1)
endif()
......
......@@ -57,7 +57,7 @@ IF(CGAL_INCLUDE_DIR )
PATHS "/opt/local/lib/"
DOC "Directory containing the CGAL library"
)
list ( APPEND CGAL_LIBRARIES CGAL CGAL_Core CGAL_ImageIO CGAL_PDB CGAL_Qt4)
list ( APPEND CGAL_LIBRARIES ${CGAL_LIBRARY_DIR}/libCGAL.dylib ${CGAL_LIBRARY_DIR}/libCGAL_Core.dylib ${CGAL_LIBRARY_DIR}/libCGAL_ImageIO.dylib ${CGAL_LIBRARY_DIR}/libCGAL_PDB.dylib )
ELSE( WIN32 )
find_path(CGAL_LIBRARY_DIR
NAMES "libCGAL.so"
......
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