]> SALOME platform Git repositories - tools/SALOME.git/commitdiff
Salome HOME
Removing Qt4 dependency which causes compilation failure on nodes without Qt4 installed
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 5 Jun 2019 07:46:23 +0000 (09:46 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 5 Jun 2019 07:46:23 +0000 (09:46 +0200)
CMakeLists.txt

index ca8e8a1539a91e07fa225074c24f969513182ad4..0031ef793bdaa08633f118ddd7a84eb608cf4766 100644 (file)
@@ -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)