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

Added skeleton for taucs finder



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6141 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 31af3da6
# - Find TAUCS
# Find the native TAUCS headers and libraries.
#
# TAUCS_INCLUDE_DIR - where to find TAUCS.h, etc.
# TAUCS_LIBRARIES - List of libraries when using TAUCS.
# TAUCS_FOUND - True if TAUCS found.
MESSAGE(STATUS "TAUCS finder under DEVELOPMENT!!!")
IF (TAUCS_INCLUDE_DIR)
# Already in cache, be silent
SET(TAUCS_FIND_QUIETLY TRUE)
ENDIF (TAUCS_INCLUDE_DIR)
# Look for the header file.
FIND_PATH(TAUCS_INCLUDE_DIR NAMES taucs.h
PATHS /ACG/acgdev/gcc-4.3-x86_64/taucs-2.2-gfortran/
)
#
# Copy the results to the output variables.
IF(TAUCS_INCLUDE_DIR )
SET(TAUCS_FOUND 1)
SET(TAUCS_INCLUDE_DIR ${TAUCS_INCLUDE_DIR})
FIND_LIBRARY( TAUCS_LIBRARY
NAMES taucs.a
PATHS /ACG/acgdev/gcc-4.3-x86_64/taucs-2.2.new/lib )
ELSE(TAUCS_INCLUDE_DIR )
SET(TAUCS_FOUND 0)
SET(TAUCS_INCLUDE_DIR)
ENDIF(TAUCS_INCLUDE_DIR )
# Report the results.
IF(NOT TAUCS_FOUND)
SET(TAUCS_DIR_MESSAGE
"TAUCS was not found. Make sure TAUCS_INCLUDE_DIR is set to the directories containing the include and lib files for TAUCS. .")
IF(TAUCS_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "${TAUCS_DIR_MESSAGE}")
ELSEIF(NOT TAUCS_FIND_QUIETLY)
MESSAGE(STATUS "${TAUCS_DIR_MESSAGE}")
ELSE(NOT TAUCS_FIND_QUIETLY)
ENDIF(TAUCS_FIND_REQUIRED)
ELSE (NOT TAUCS_FOUND)
IF(NOT TAUCS_FIND_QUIETLY)
MESSAGE(STATUS "Looking for TAUCS - found")
ENDIF(NOT TAUCS_FIND_QUIETLY)
ENDIF(NOT TAUCS_FOUND)
Supports Markdown
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