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

Apple Taucs Finder should search in local dir



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6486 383ad7c9-94d9-4d36-a494-682f7c89f535
parent db309278
......@@ -21,9 +21,21 @@ IF(WIN32)
FIND_PATH(TAUCS_INCLUDE_DIR NAMES taucs.h
PATHS "${CGAL_TAUCS_DIR}/include" )
ELSE(WIN32)
IF(APPLE)
FIND_PATH(TAUCS_INCLUDE_DIR NAMES taucs.h
PATHS "${CMAKE_SOURCE_DIR}/MacOS/Libs/taucs/src"
)
ELSE (APPLE)
FIND_PATH(TAUCS_INCLUDE_DIR NAMES taucs.h
PATHS /ACG/acgdev/gcc-4.3-x86_64/taucs-2.2-gfortran/include
)
PATHS /ACG/acgdev/gcc-4.3-x86_64/taucs-2.2-gfortran/include
)
ENDIF(APPLE)
ENDIF(WIN32)
# Copy the results to the output variables.
......@@ -34,10 +46,17 @@ IF(TAUCS_INCLUDE_DIR )
IF(WIN32)
find_package(CGAL)
ELSE(WIN32)
FIND_LIBRARY( TAUCS_LIBRARY
NAMES taucs
PATHS /ACG/acgdev/gcc-4.3-x86_64/taucs-2.2.new/lib
)
IF(APPLE)
FIND_LIBRARY( TAUCS_LIBRARY
NAMES taucs
PATHS "${CMAKE_SOURCE_DIR}/MacOS/Libs/taucs/lib/darwin9.0"
)
ELSE (APPLE)
FIND_LIBRARY( TAUCS_LIBRARY
NAMES taucs
PATHS /ACG/acgdev/gcc-4.3-x86_64/taucs-2.2.new/lib
)
ENDIF( APPLE)
ENDIF(WIN32)
ELSE(TAUCS_INCLUDE_DIR )
......
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