/usr/lib/CGAL/CGAL_UseTAUCS.cmake is in libcgal-dev 4.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | # This module setups the compiler for the TAUCS libraries.
# It assumes that find_package(TAUCS) was already called.
if ( TAUCS_FOUND AND NOT TAUCS_SETUP )
message( STATUS "UseTAUCS" )
message( STATUS "TAUCS include: ${TAUCS_INCLUDE_DIR}" )
include_directories ( SYSTEM ${TAUCS_INCLUDE_DIR} )
message( STATUS "TAUCS definitions: ${TAUCS_DEFINITIONS}" )
add_definitions( ${TAUCS_DEFINITIONS} "-DCGAL_USE_TAUCS" )
if (TAUCS_LIBRARIES_DIR)
message( STATUS "TAUCS library directories: ${TAUCS_LIBRARIES_DIR}" )
link_directories( ${TAUCS_LIBRARIES_DIR} )
endif()
if (TAUCS_LIBRARIES)
message( STATUS "TAUCS libraries: ${TAUCS_LIBRARIES}" )
link_libraries( ${TAUCS_LIBRARIES} )
endif()
# TAUCS requires BLAS and LAPACK
include( ${LAPACK_USE_FILE} )
# Setup is done
set ( TAUCS_SETUP TRUE )
add_definitions(-DCGAL_TAUCS_ENABLED)
endif()
|