/usr/lib/x86_64-linux-gnu/cmake/libemos/libemos-config.cmake is in libemos-dev 2:4.5.1-1.
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 | # Config file for the libemos package
# Defines the following variables:
#
# LIBEMOS_INCLUDE_DIRS - include directories
# LIBEMOS_DEFINITIONS - preprocessor definitions
# LIBEMOS_LIBRARIES - libraries to link against
# LIBEMOS_FEATURES - list of enabled features
# LIBEMOS_VERSION - version of the package
# LIBEMOS_GIT_SHA1 - Git revision of the package
# LIBEMOS_GIT_SHA1_SHORT - short Git revision of the package
#
# Also defines libemos third-party library dependencies:
# LIBEMOS_TPLS - package names of third-party library dependencies
# LIBEMOS_TPL_INCLUDE_DIRS - include directories
# LIBEMOS_TPL_DEFINITIONS - preprocessor definitions
# LIBEMOS_TPL_LIBRARIES - libraries to link against
### compute paths
get_filename_component(LIBEMOS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set( LIBEMOS_SELF_INCLUDE_DIRS "${LIBEMOS_CMAKE_DIR}/../../../include" )
set( LIBEMOS_SELF_DEFINITIONS 'gfortran;linux;FOPEN64;REAL_8;REAL_BIGGER_THAN_INTEGER;POINTER_64;_LARGEFILE64_SOURCE;_FILE_OFFSET_BITS=64;INTEGER_IS_INT' )
set( LIBEMOS_TPLS "FFTW;eccodes" )
set( LIBEMOS_TPL_INCLUDE_DIRS "/usr/lib/include;/usr/include;/usr/lib/python3/dist-packages/numpy/core/include;/usr/include/openjpeg-2.1" )
set( LIBEMOS_TPL_DEFINITIONS "" )
set( LIBEMOS_TPL_LIBRARIES "/usr/lib/x86_64-linux-gnu/libfftw3.so;eccodes;eccodes_f90;/usr/lib/x86_64-linux-gnu/libpng.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libaec.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libopenjp2.so" )
set( LIBEMOS_VERSION "4.5.1" )
set( LIBEMOS_GIT_SHA1 "" )
set( LIBEMOS_GIT_SHA1_SHORT "" )
### export include paths as absolute paths
set( LIBEMOS_INCLUDE_DIRS "" )
foreach( path ${LIBEMOS_SELF_INCLUDE_DIRS} )
get_filename_component( abspath ${path} ABSOLUTE )
list( APPEND LIBEMOS_INCLUDE_DIRS ${abspath} )
endforeach()
list( APPEND LIBEMOS_INCLUDE_DIRS ${LIBEMOS_TPL_INCLUDE_DIRS} )
### export definitions
set( LIBEMOS_DEFINITIONS ${LIBEMOS_SELF_DEFINITIONS} ${LIBEMOS_TPL_DEFINITIONS} )
### export list of all libraries
### export the features provided by the package
set( LIBEMOS_FEATURES "TESTS;INSTALL_TABLES;INSTALL_TOOLS;FORTRAN90;SINGLE_PRECISION;GRIBEX_ABORT;REQUIRE_FFTW;FFTW;LIBEMOS_BUFRDC;LIBEMOS_INTERPOLATION;LIBEMOS_GRIBEX;ECCODES" )
foreach( _f ${LIBEMOS_FEATURES} )
set( LIBEMOS_HAVE_${_f} 1 )
endforeach()
# Has this configuration been exported from a build tree?
set( LIBEMOS_IS_BUILD_DIR_EXPORT OFF )
if( EXISTS ${LIBEMOS_CMAKE_DIR}/libemos-import.cmake )
set( LIBEMOS_IMPORT_FILE "${LIBEMOS_CMAKE_DIR}/libemos-import.cmake" )
include( ${LIBEMOS_IMPORT_FILE} )
endif()
# here goes the imports of the TPL's
include( ${CMAKE_CURRENT_LIST_FILE}.tpls OPTIONAL )
# insert definitions for IMPORTED targets
if( NOT libemos_BINARY_DIR )
#if( LIBEMOS_IS_BUILD_DIR_EXPORT )
# include( "/build/emoslib-cI7mB2/emoslib-4.5.1/obj-x86_64-linux-gnu/libemos-targets.cmake" OPTIONAL )
#else()
# include( "${LIBEMOS_CMAKE_DIR}/libemos-targets.cmake" OPTIONAL )
#endif()
include( "${LIBEMOS_CMAKE_DIR}/libemos-targets.cmake" )
endif()
# publish this file as imported
set( LIBEMOS_IMPORT_FILE ${CMAKE_CURRENT_LIST_FILE} )
mark_as_advanced( LIBEMOS_IMPORT_FILE )
# set libemos_BASE_DIR for final installations or build directories
if( NOT libemos )
set( libemos_BASE_DIR /usr )
endif()
set( LIBEMOS_SELF_LIBRARIES emos_shared )
|