/usr/lib/cmake/paraview/ParaViewQtVersion.cmake is in paraview-dev 5.0.1+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 | #------------------------------------------------------------------------------
# Option and variables to define the Qt version to use
#------------------------------------------------------------------------------
SET( PARAVIEW_QT_VERSION "4" CACHE STRING "Expected Qt version" )
MARK_AS_ADVANCED( PARAVIEW_QT_VERSION )
SET_PROPERTY(CACHE PARAVIEW_QT_VERSION PROPERTY STRINGS 4 5)
IF( NOT ( PARAVIEW_QT_VERSION VERSION_EQUAL "4" OR
PARAVIEW_QT_VERSION VERSION_EQUAL "5" ) )
MESSAGE( FATAL_ERROR "Expected value for PARAVIEW_QT_VERSION is either '4' "
"or '5'")
ENDIF()
SET( VTK_QT_VERSION ${PARAVIEW_QT_VERSION} CACHE STRING "" FORCE )
IF( PARAVIEW_QT_VERSION VERSION_GREATER "4" )
SET( QT_MIN_VERSION "5.0.0" )
SET( QT_OFFICIAL_VERSION "5.0.2" )
ELSE()
SET( QT_MIN_VERSION "4.7.0" )
SET( QT_OFFICIAL_VERSION "4.8" )
ENDIF()
|