Salome HOME
Copyright update 2021
[tools/yacsgen.git] / module_generator / mod_tmpl.py
index a59a6f7a71f49eec6a4922dbb68c7a13631016d7..d7cd0869d194e104f7ef3c0668b1a6917fb8103d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2016  EDF R&D
+# Copyright (C) 2009-2021  EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -144,13 +144,9 @@ IF(SALOME_GUI_MODULE)
   ##
   ## From GUI:
   ##
-  FIND_PACKAGE(SalomeCAS REQUIRED)
-  # Qt4/Qt5
-  IF(NOT SALOME_GUI_BUILD_WITH_QT5)
-    FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui)
-  ELSE()
-    FIND_PACKAGE(SalomeQt5 REQUIRED)
-  ENDIF()
+  FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
+  # Qt5
+  FIND_PACKAGE(SalomeQt5 REQUIRED)
 ENDIF(SALOME_GUI_MODULE)
 
 ${add_modules}