/usr/lib/cmake/paraview/ParaViewConfig.cmake is in paraview-dev 4.0.1-1ubuntu1.
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 | #-----------------------------------------------------------------------------
#
# ParaViewConfig.cmake - ParaView CMake configuration file for external projects.
#
# This file is configured by ParaView and used by the UseParaView.cmake module
# to load ParaView's settings for an external project.
set (__pv_install_tree TRUE)
if (__pv_install_tree)
get_filename_component(location "${CMAKE_CURRENT_LIST_FILE}" PATH)
set (VTK_CONFIG_FILE "${location}/VTKConfig.cmake")
set (ParaView_CMAKE_DIR "${location}")
set (PARAVIEW_CONFIG_TARGETS_FILE "${location}/ParaViewTargets.cmake")
else()
# The ParaView is in the build-location.
set (VTK_CONFIG_FILE "/build/buildd/paraview-4.0.1/obj-x86_64-linux-gnu/VTK/VTKConfig.cmake")
set (ParaView_CMAKE_DIR "/build/buildd/paraview-4.0.1/CMake")
set (PARAVIEW_CONFIG_TARGETS_FILE "/build/buildd/paraview-4.0.1/obj-x86_64-linux-gnu/ParaViewTargets.cmake")
endif()
#------------------------------------------------------------------------------
# Version information for ParaView
SET(PARAVIEW_VERSION_MAJOR "4")
SET(PARAVIEW_VERSION_MINOR "0")
SET(PARAVIEW_VERSION_PATCH "1")
SET(PARAVIEW_VERSION_FULL "4.0.1")
# The location of the UseParaView.cmake file
# FIXME: I don't like this mixing of case, we need to fix that to be consistent.
set (ParaView_USE_FILE "${ParaView_CMAKE_DIR}/UseParaView.cmake")
set (PARAVIEW_USE_FILE ${ParaView_USE_FILE})
set (PARAVIEW_CMAKE_DIR ${ParaView_CMAKE_DIR})
# Import ParaView targets.
if(NOT TARGET vtkPVCommon)
include("${PARAVIEW_CONFIG_TARGETS_FILE}")
endif()
# load VTK config. This will bring in information about all modules (including
# ParaView's modules).
set (paraview_build_qt_gui "ON")
if (paraview_build_qt_gui)
set (VTK_FIND_COMPONENTS pqApplicationComponents)
else()
set (VTK_FIND_COMPONENTS vtkPVServerManagerApplication)
endif()
set (VTK_FIND_COMPONENTS ${VTK_FIND_COMPONENTS} ${ParaView_FIND_COMPONENTS})
include("${VTK_CONFIG_FILE}")
if (__pv_install_tree)
set (PARAVIEW_WWW_DIR "${VTK_INSTALL_PREFIX}/lib/paraview-4.0/www")
else()
list(APPEND VTK_INCLUDE_DIRS "/build/buildd/paraview-4.0.1/obj-x86_64-linux-gnu")
set (PARAVIEW_WWW_DIR "/build/buildd/paraview-4.0.1/obj-x86_64-linux-gnu/www")
endif()
# unless using external vtk (when we start supporting it, that is)
# PARAVIEW_INCLUDE_DIRS is same as VTK_INCLUDE_DIRS, but to make it easier for
# ParaView users.
set (PARAVIEW_INCLUDE_DIRS ${VTK_INCLUDE_DIRS})
#------------------------------------------------------------------------------
# ParaView global configuration options.
set (PARAVIEW_BUILD_SHARED_LIBS "ON")
set (PARAVIEW_BUILD_QT_GUI "ON")
set (PARAVIEW_USE_MPI "ON")
set (PARAVIEW_ENABLE_PYTHON "ON")
set (PARAVIEW_ENABLE_QT_SUPPORT "ON")
set (PARAVIEW_QT_QMAKE_EXECUTABLE "/usr/bin/qmake")
set (PARAVIEW_USE_VISITBRIDGE "OFF")
set (PARAVIEW_ENABLE_COPROCESSING "")
set (PARAVIEW_ENABLE_WEB "ON")
# cleanup
unset(__pv_install_tree)
|