This file is indexed.

/usr/share/metview/cmake/metview-config.cmake is in metview-data 5.0.0~beta.1-1build1.

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
# Config file for the metview package
# Defines the following variables:
#
#  METVIEW_INCLUDE_DIRS   - include directories
#  METVIEW_DEFINITIONS    - preprocessor definitions
#  METVIEW_LIBRARIES      - libraries to link against
#  METVIEW_FEATURES       - list of enabled features
#  METVIEW_VERSION        - version of the package
#  METVIEW_GIT_SHA1       - Git revision of the package
#  METVIEW_GIT_SHA1_SHORT - short Git revision of the package
#
# Also defines metview third-party library dependencies:
#  METVIEW_TPLS             - package names of  third-party library dependencies
#  METVIEW_TPL_INCLUDE_DIRS - include directories
#  METVIEW_TPL_DEFINITIONS  - preprocessor definitions
#  METVIEW_TPL_LIBRARIES    - libraries to link against

### compute paths

get_filename_component(METVIEW_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

set( METVIEW_SELF_INCLUDE_DIRS "${METVIEW_CMAKE_DIR}/../../../include" )
set( METVIEW_SELF_DEFINITIONS  "" )
set( METVIEW_SELF_LIBRARIES    "MvMars;macro_api_f90;Util;Metview;MvNetCDF;FTimeUtil;MvQtUtil;MvQtGui" )

set( METVIEW_TPLS              "grib_api;NetCDF" )
set( METVIEW_TPL_INCLUDE_DIRS  "/usr/lib/include;/usr/include;/usr/lib/python3/dist-packages/numpy/core/include;/usr/include/openjpeg-2.1;/usr/include/hdf5/serial" )
set( METVIEW_TPL_DEFINITIONS   "" )
set( METVIEW_TPL_LIBRARIES     "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;debug;optimized;/usr/lib/x86_64-linux-gnu/libnetcdf_c++.so;/usr/lib/x86_64-linux-gnu/libnetcdf.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libdl.so" )

set( METVIEW_VERSION           "4.9.1" )
set( METVIEW_GIT_SHA1          "" )
set( METVIEW_GIT_SHA1_SHORT    "" )

### export include paths as absolute paths

set( METVIEW_INCLUDE_DIRS "" )
foreach( path ${METVIEW_SELF_INCLUDE_DIRS} )
  get_filename_component( abspath ${path} ABSOLUTE )
  list( APPEND METVIEW_INCLUDE_DIRS ${abspath} )
endforeach()
list( APPEND METVIEW_INCLUDE_DIRS ${METVIEW_TPL_INCLUDE_DIRS} )

### export definitions

set( METVIEW_DEFINITIONS      ${METVIEW_SELF_DEFINITIONS} ${METVIEW_TPL_DEFINITIONS} )

### export list of all libraries

set( METVIEW_LIBRARIES        ${METVIEW_SELF_LIBRARIES}   ${METVIEW_TPL_LIBRARIES}   )

### export the features provided by the package

set( METVIEW_FEATURES    "TESTS;ECCODES" )
foreach( _f ${METVIEW_FEATURES} )
  set( METVIEW_HAVE_${_f} 1 )
endforeach()

# Has this configuration been exported from a build tree?
set( METVIEW_IS_BUILD_DIR_EXPORT OFF )

if( EXISTS ${METVIEW_CMAKE_DIR}/metview-import.cmake )
  set( METVIEW_IMPORT_FILE "${METVIEW_CMAKE_DIR}/metview-import.cmake" )
  include( ${METVIEW_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 metview_BINARY_DIR )

  if( METVIEW_IS_BUILD_DIR_EXPORT )
    include( "/build/metview-zUa9Aw/metview-5.0.0~beta.1/debian/build/metview-targets.cmake" OPTIONAL )
  else()
    include( "${METVIEW_CMAKE_DIR}/metview-targets.cmake" OPTIONAL )
  endif()

endif()

# publish this file as imported

set( METVIEW_IMPORT_FILE ${CMAKE_CURRENT_LIST_FILE} )
mark_as_advanced( METVIEW_IMPORT_FILE )

# set metview_BASE_DIR for final installations or build directories

if( NOT metview )
  if( METVIEW_IS_BUILD_DIR_EXPORT )
    set( metview_BASE_DIR /build/metview-zUa9Aw/metview-5.0.0~beta.1/debian/build )
  else()
    get_filename_component( abspath ${CMAKE_CURRENT_LIST_DIR}/../../.. ABSOLUTE )
    set( metview_BASE_DIR ${abspath} )
  endif()
endif()