This file is indexed.

/usr/lib/cmake/paraview/ParaViewQt5.cmake is in paraview-dev 5.1.2+dfsg1-2.

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
#------------------------------------------------------------------------------
# Find Qt5 libraries and headers.
# If Qt5_FIND_COMPONENTS is defined as a list of Qt5 modules, only those modules
# will be looked for and added. If it is not defined, all modules will be looked
# for and added to the project.
#
# This file sets the following variables:
#
# QT5_FOUND (Indicating that Qt5 libraries found)
# QT_LIBRARIES (List of Qt5 libraries)
# QT_QMAKE_EXECUTABLE
# QT_RCC_EXECUTABLE
# QT_UIC_EXECUTABLE
# QT_QDBUSCPP2XML_EXECUTABLE
# QT_QDBUSXML2CPP_EXECUTABLE
#
# In addition, this file also includes the Qt5 library include dirs and adds the
# Qt5 library definitions
#------------------------------------------------------------------------------

FIND_PACKAGE( Qt5Core QUIET )

IF( NOT Qt5_FIND_COMPONENTS )
  SET (Qt5_FIND_COMPONENTS
    Core
    Help
    Network
    UiTools
    Widgets
    )
ENDIF()

IF( Qt5Core_FOUND )
  # Check if Qtversion is >=QT_OFFICIAL_VERSION. If so, we are good. Otherwise we will post a
  # warning of versions (<QT_OFFICIAL_VERSION).

  if (POLICY CMP0020)
    cmake_policy(SET CMP0020 NEW)
  endif ()

  STRING( REGEX MATCH "^5\\.[0]\\.[0-1]+" QT_VERSION_MATCH
    "${Qt5Core_VERSION_STRING}" )
  IF( QT_VERSION_MATCH )
    MESSAGE( WARNING "Warning: You are using Qt ${Qt5Core_VERSION_STRING}. "
      "Officially supported version is Qt ${QT_OFFICIAL_VERSION}" )
  ENDIF()
  FIND_PACKAGE( Qt5 REQUIRED COMPONENTS ${Qt5_FIND_COMPONENTS} )
  FOREACH( _COMPONENT ${Qt5_FIND_COMPONENTS} )
    LIST( APPEND QT_LIBRARIES ${Qt5${_COMPONENT}_LIBRARIES} )
  ENDFOREACH()
  SET( QT5_FOUND TRUE )

  GET_TARGET_PROPERTY( QT_QMAKE_EXECUTABLE Qt5::qmake LOCATION )
  GET_TARGET_PROPERTY( QT_RCC_EXECUTABLE Qt5::rcc LOCATION )
  GET_TARGET_PROPERTY( QT_UIC_EXECUTABLE Qt5::uic LOCATION )

  IF( TARGET Qt5::qdbuscpp2xml )
    GET_TARGET_PROPERTY( QT_QDBUSCPP2XML_EXECUTABLE Qt5::qdbuscpp2xml LOCATION )
  ENDIF()

  IF( TARGET Qt5::qdbusxml2cpp )
    GET_TARGET_PROPERTY(QT_QDBUSXML2CPP_EXECUTABLE Qt5::qdbusxml2cpp LOCATION )
  ENDIF()
ELSE()
  MESSAGE(SEND_ERROR "Error: Could not find Qt5.\nIf Qt5 is not installed in"
  " a standard location, a custom prefix for 'find_package' should be passed."
  "\nFor example, -DCMAKE_PREFIX_PATH:STRING=/path/to/qt5/build"
  "\nOr the prefix environment variable must be set."
  "\nFor example, export CMAKE_PREFIX_PATH=/path/to/qt5/build\n")
ENDIF()