From f4a17105e35d7bb1cec66285098c8ced97906407 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 4 Jun 2019 15:09:47 +0300 Subject: [PATCH] Remove QT4 compatibility: additional changes. --- test/standalone/CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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) -- 2.39.2