-# Copyright (C) 2010-2019 CEA/DEN, EDF R&D
+# Copyright (C) 2010-2022 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
PROJECT(LightPARAVIS)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.10)
+CMAKE_POLICY(SET CMP0053 NEW) # for correct Qt 5 detection procedure
IF(WIN32)
CMAKE_POLICY(SET CMP0020 OLD) # disable automatic linking to qtmain.lib
ENDIF(WIN32)
LIST(APPEND CMAKE_PREFIX_PATH "$ENV{PARAVIEW_ROOT_DIR}")
FIND_PACKAGE(ParaView REQUIRED)
-INCLUDE(${PARAVIEW_USE_FILE})
-INCLUDE(ParaViewMacros)
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
# Main applications