/usr/lib/x86_64-linux-gnu/cmake/ignition-math4/ignition-math4-config.cmake is in libignition-math4-dev 4.0.0+dfsg1-4.
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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | # - Config file for the ignition-math4 package.
#
# For finding and loading ignition-math4 from your project, type:
#
# find_package(ignition-math4)
#
# It defines the following variables:
#
# ignition-math4_FOUND - System has ignition-math4.
# ignition-math4_INCLUDE_DIRS - include directories for ignition-math4 and its dependencies.
# ignition-math4_LIBRARY_DIRS - Paths in which the linker should search for libraries.
# ignition-math4_LIBRARIES - Libraries to link against.
# ignition-math4_LDFLAGS - Linker flags.
#
# Additionally, it will create an imported target named ignition-math4::ignition-math4.
# You can link your library against that target using target_link_library(~),
# and all the variables mentioned above will automatically be pulled into your
# target.
# We explicitly set the desired cmake version to ensure that the policy settings
# of users or of toolchains do not result in the wrong behavior for our modules.
# Note that the call to find_package(~) will PUSH a new policy stack before
# taking on these version settings, and then that stack will POP after the
# find_package(~) has exited, so this will not affect the cmake policy settings
# of a caller.
cmake_minimum_required(VERSION 3.5.1 FATAL_ERROR)
if(ignition-math4_CONFIG_INCLUDED)
return()
endif()
set(ignition-math4_CONFIG_INCLUDED TRUE)
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
####### Any changes to this file will be overwritten by the next CMake run ####
####### The input file was ignition-config.cmake.in ########
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../../" ABSOLUTE)
# Use original install prefix when loaded through a "/usr move"
# cross-prefix symbolic link such as /lib -> /usr/lib.
get_filename_component(_realCurr "${CMAKE_CURRENT_LIST_DIR}" REALPATH)
get_filename_component(_realOrig "/usr/lib/x86_64-linux-gnu/cmake/ignition-math4" REALPATH)
if(_realCurr STREQUAL _realOrig)
set(PACKAGE_PREFIX_DIR "/usr")
endif()
unset(_realOrig)
unset(_realCurr)
macro(set_and_check _var _file)
set(${_var} "${_file}")
if(NOT EXISTS "${_file}")
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
endif()
endmacro()
macro(check_required_components _NAME)
foreach(comp ${${_NAME}_FIND_COMPONENTS})
if(NOT ${_NAME}_${comp}_FOUND)
if(${_NAME}_FIND_REQUIRED_${comp})
set(${_NAME}_FOUND FALSE)
endif()
endif()
endforeach()
endmacro()
####################################################################################
if(NOT TARGET ignition-math4::ignition-math4)
include("${CMAKE_CURRENT_LIST_DIR}/ignition-math4-targets.cmake")
endif()
# On windows we produce .dll libraries with no prefix
if(WIN32)
set(CMAKE_FIND_LIBRARY_PREFIXES "")
set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib" ".dll")
endif()
# Package variables. Note that ignition-math4_LIBRARIES merely contains an imported
# target for the library, so it is sufficient to simply link to
# ignition-math4_LIBRARIES. None of the other package variables are needed.
set(ignition-math4_LIBRARIES ignition-math4::ignition-math4)
set(ignition-math4_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include/ignition/math4")
set(ignition-math4_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib/x86_64-linux-gnu")
set(ignition-math4_LDFLAGS "-L${PACKAGE_PREFIX_DIR}/lib/x86_64-linux-gnu")
# Backwards compatibility variables
set(IGNITION-MATH_LIBRARIES ${ignition-math4_LIBRARIES})
set(IGNITION-MATH_INCLUDE_DIRS ${ignition-math4_INCLUDE_DIRS})
# These variables are used by ignition-cmake to automatically configure the
# pkgconfig files for ignition projects.
set(ignition-math4_PKGCONFIG_ENTRY "ignition-math4")
set(ignition-math4_PKGCONFIG_TYPE PROJECT_PKGCONFIG_REQUIRES)
# Get access to the find_dependency utility
include(CMakeFindDependencyMacro)
# Find ignition-cmake, because we need its modules in order to find the rest of
# our dependencies.
find_dependency(ignition-cmake0)
# Find each dependency of this project (if nothing is below, then the project
# has no external dependencies).
# Specify the doxygen tag file
set(IGNITION-MATH_DOXYGEN_TAGFILE "/usr/share/ignition/ignition-math4_0/ignition-math4.tag.xml")
# Specify the API url. This is where the doxygen tag file will resolve URLS to.
set(IGNITION-MATH_API_URL "https://ignitionrobotics.org/api/math/4.0")
|