/usr/lib/x86_64-linux-gnu/cmake/libkml/LibKMLConfig.cmake is in libkml-dev 1.3.0-5.
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 | # Compute paths
get_filename_component(LIBKML_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(LIBKML_INCLUDE_DIRS "${LIBKML_CMAKE_DIR}/../../../../include/kml")
if(NOT TARGET foo AND NOT LIBKML_BINARY_DIR)
include("${LIBKML_CMAKE_DIR}/LibKMLTargets.cmake")
endif()
set(LIBKML_LIBRARIES)
foreach(targ kmlbase;kmldom;kmlxsd;kmlengine;kmlconvenience;kmlregionator)
get_target_property(LIB_LIB_FILENAME ${targ} IMPORTED_LOCATION_NONE)
get_target_property(LIB_LINK_FILENAME ${targ} IMPORTED_LINK_INTERFACE_LIBRARIES_NONE)
string(REGEX MATCH "^kml" matched ${LIB_LINK_FILENAME})
if(NOT matched)
list(APPEND LIBKML_LIBRARIES ${LIB_LINK_FILENAME})
endif()
list(APPEND LIBKML_LIBRARIES ${LIB_LIB_FILENAME})
endforeach()
set(LIBKML_FOUND TRUE)
|