/usr/share/kido/KIDOConfig.cmake is in libkido-dev 0.1.0+dfsg-2+b2.
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ###############################################################################
# Config file for KIDO
#
# This sets the following variables:
# KIDO_INCLUDE_DIRS - Directories containing the KIDO include files.
# KIDO_LIBRARIES - Libraries needed to use KIDO.
# KIDO_LIBRARY_DIRS - Directories that contain the KIDO libraries.
# KIDO_VERSION - KIDO version.
#===============================================================================
# KIDO_INCLUDE_DIRS
#===============================================================================
set(KIDO_INCLUDE_DIRS
"/usr/include"
"/usr/include/eigen3"
"/usr/include/bullet")
#===============================================================================
# KIDO_LIBRARY_DIRS
#===============================================================================
set(KIDO_LIBRARY_DIRS "/usr/lib" "/usr/lib/x86_64-linux-gnu")
#===============================================================================
# KIDO_LIBRARIES
#===============================================================================
get_filename_component(CURRENT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include("${CURRENT_DIR}/KIDOTargets.cmake")
# Return absolute path of the library instead of just library name as
# recommended in CMake documentation:
# http://www.cmake.org/cmake/help/v3.0/command/link_directories.html
find_library(kido_location NAMES "kido" PATHS "/usr/lib")
set(KIDO_LIBRARIES "${kido_location}")
# Handle requested components in find_package(KIDO COMPONENTS [components]).
# The list of components is passed in KIDO_FIND_COMPONENTS.
if(KIDO_FIND_COMPONENTS)
foreach(comp ${KIDO_FIND_COMPONENTS})
find_library(kido_${comp}_location
NAMES "kido-${comp}"
PATHS "/usr/lib")
if(kido_${comp}_location)
list(APPEND KIDO_LIBRARIES "${kido_${comp}_location}")
else()
if(KIDO_FIND_REQUIRED_${comp})
message(FATAL_ERROR "kido-${comp} not available")
endif(KIDO_FIND_REQUIRED_${comp})
endif(kido_${comp}_location)
endforeach(comp)
endif(KIDO_FIND_COMPONENTS)
#===============================================================================
# KIDO_VERSION
#===============================================================================
set(KIDO_VERSION 0.1.0)
|