From: rnv Date: Tue, 4 Jun 2019 12:09:47 +0000 (+0300) Subject: Remove QT4 compatibility: additional changes. X-Git-Tag: V9_4_0a1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f4a17105e35d7bb1cec66285098c8ced97906407;p=modules%2Fparavis.git Remove QT4 compatibility: additional changes. --- diff --git a/test/standalone/CMakeLists.txt b/test/standalone/CMakeLists.txt index 6908a7bd..4921a7f1 100644 --- a/test/standalone/CMakeLists.txt +++ b/test/standalone/CMakeLists.txt @@ -28,12 +28,9 @@ SET(CMAKE_BUILD_TYPE "Debug") OPTION(LIGHTPARAVIS_WITH_GUI "Build GUI test app" ON) # Package detection -IF (NOT SALOME_GUI_BUILD_WITH_QT5) - FIND_PACKAGE(Qt4 REQUIRED) -ELSE() - FIND_PACKAGE(Qt5Core) - FIND_PACKAGE(Qt5Gui) -ENDIF() +FIND_PACKAGE(Qt5Core) +FIND_PACKAGE(Qt5Gui) + LIST(APPEND CMAKE_PREFIX_PATH "$ENV{PARAVIEW_ROOT_DIR}") FIND_PACKAGE(ParaView REQUIRED)