From: Nabil Ghodbane Date: Wed, 5 Jun 2019 07:46:23 +0000 (+0200) Subject: Removing Qt4 dependency which causes compilation failure on nodes without Qt4 installed X-Git-Tag: V9_4_0rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3238d9c71b1a7efea8f77cc293f378b172955bc9;p=tools%2FSALOME.git Removing Qt4 dependency which causes compilation failure on nodes without Qt4 installed --- 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)