From 3238d9c71b1a7efea8f77cc293f378b172955bc9 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 5 Jun 2019 09:46:23 +0200 Subject: [PATCH] Removing Qt4 dependency which causes compilation failure on nodes without Qt4 installed --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca8e8a1..0031ef7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,11 +92,7 @@ ELSE(EXISTS ${GUI_ROOT_DIR}) ENDIF(EXISTS ${GUI_ROOT_DIR}) # Qt -IF(NOT SALOME_GUI_BUILD_WITH_QT5) - FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui) -ELSE() - FIND_PACKAGE(SalomeQt5 REQUIRED) -ENDIF() +FIND_PACKAGE(SalomeQt5 REQUIRED) # Directories # (default values taken from KERNEL) -- 2.39.2