/usr/share/cmake/libLAS-1.8.0/liblas-config.cmake is in liblas-dev 1.8.0-7build1.
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 | # Configure libLAS package
#
# It defines the following variables
# libLAS_FOUND = LIBLAS_FOUND - TRUE
# libLAS_INCLUDE_DIRS - include directories for libLAS
# libLAS_LIBRARY_DIRS - library directory
# libLAS_LIBRARIES - all the libraries of the components requested
# if no components specified then all found
# libLAS_VERSION - libLAS library version
message (STATUS "Reading ${CMAKE_CURRENT_LIST_FILE}")
set (libLAS_VERSION "")
message (STATUS "libLAS configuration, version "
${libLAS_VERSION})
# Tell the user project where to find our headers and libraries
get_filename_component (_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
get_filename_component (PROJECT_ROOT_DIR "${_DIR}/../../.." ABSOLUTE)
set (libLAS_INCLUDE_DIRS "${PROJECT_ROOT_DIR}/include")
set (libLAS_LIBRARY_DIRS "${PROJECT_ROOT_DIR}/lib")
include ("${_DIR}/liblas-depends.cmake")
if(WIN32)
set (libLAS_LIBRARIES liblas liblas_c)
else()
set (libLAS_LIBRARIES las las_c)
endif()
set (LIBLAS_FOUND TRUE)
|