Salome HOME
Merge branch 'V9_2_2_BR'
[tools/yacsgen.git] / module_generator / mod_tmpl.py
index 3767e529370395f0ca42e1e9dc989d8d8dc9a9ed..c33fa0681837b5b186c918363135735adda0c6c5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2016  EDF R&D
+# Copyright (C) 2009-2019  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
@@ -20,7 +20,7 @@
 try:
   from string import Template
 except:
-  from compat import Template,set
+  from module_generator.compat import Template,set
 
 application="""
 <application>
@@ -144,7 +144,7 @@ IF(SALOME_GUI_MODULE)
   ##
   ## From GUI:
   ##
-  FIND_PACKAGE(SalomeCAS REQUIRED)
+  FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
   # Qt4/Qt5
   IF(NOT SALOME_GUI_BUILD_WITH_QT5)
     FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui)