Salome HOME
projects
/
tools
/
yacsgen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2021
[tools/yacsgen.git]
/
module_generator
/
mod_tmpl.py
diff --git
a/module_generator/mod_tmpl.py
b/module_generator/mod_tmpl.py
index 3767e529370395f0ca42e1e9dc989d8d8dc9a9ed..d7cd0869d194e104f7ef3c0668b1a6917fb8103d 100644
(file)
--- a/
module_generator/mod_tmpl.py
+++ b/
module_generator/mod_tmpl.py
@@
-1,4
+1,4
@@
-# Copyright (C) 2009-20
16
EDF R&D
+# Copyright (C) 2009-20
21
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
#
# 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:
try:
from string import Template
except:
- from compat import Template,set
+ from
module_generator.
compat import Template,set
application="""
<application>
application="""
<application>
@@
-144,13
+144,9
@@
IF(SALOME_GUI_MODULE)
##
## From GUI:
##
##
## 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}
ENDIF(SALOME_GUI_MODULE)
${add_modules}