This file is indexed.

/usr/lib/CGAL/CGAL_UseLAPACK.cmake is in libcgal-dev 4.2-5ubuntu1.

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
31
32
33
34
35
36
37
38
39
40
# This module setups the compiler for the LAPACK libraries.
# It assumes that find_package(LAPACK) was already called.

if ( LAPACK_FOUND AND NOT LAPACK_SETUP )

  message( STATUS "UseLAPACK" )
  message( STATUS "LAPACK include:     ${LAPACK_INCLUDE_DIR}" )
  include_directories ( SYSTEM ${LAPACK_INCLUDE_DIR} )

  message( STATUS "LAPACK definitions: ${LAPACK_DEFINITIONS}" )
  add_definitions( ${LAPACK_DEFINITIONS} )
  if ( "${LAPACK_DEFINITIONS}" MATCHES ".*LAPACK_USE_F2C.*" )
    add_definitions( "-DCGAL_USE_F2C" )
  endif()

  if (LAPACK_LIBRARIES_DIR)
    message( STATUS "LAPACK library directories:  ${LAPACK_LIBRARIES_DIR}" )
    link_directories( ${LAPACK_LIBRARIES_DIR} )
  endif()
  if (LAPACK_LIBRARIES)
    message( STATUS "LAPACK libraries:   ${LAPACK_LIBRARIES}" )
    link_libraries( ${LAPACK_LIBRARIES} )
  endif()

  message( STATUS "LAPACK link flags:  ${LAPACK_LINKER_FLAGS}" )
  if ( BUILD_SHARED_LIBS )
    uniquely_add_flags( CMAKE_SHARED_LINKER_FLAGS ${LAPACK_LINKER_FLAGS} )
  else()
    uniquely_add_flags( CMAKE_MODULE_LINKER_FLAGS ${LAPACK_LINKER_FLAGS} )
  endif()

  # LAPACK requires BLAS
  include( ${BLAS_USE_FILE} )

  # Setup is done
  set ( LAPACK_SETUP TRUE )
  
  add_definitions(-DCGAL_LAPACK_ENABLED)

endif()