[DEBUG] correct version number
This commit is contained in:
parent
b3cad882f8
commit
0cf4e92bc9
@ -25,7 +25,6 @@ def get_version():
|
||||
return "version.txt"
|
||||
|
||||
def configure(target, my_module):
|
||||
|
||||
# add extra compilation flags:
|
||||
my_module.add_extra_flags()
|
||||
# add the file to compile:
|
||||
@ -257,7 +256,7 @@ def configure(target, my_module):
|
||||
my_module.add_path(".")
|
||||
|
||||
my_module.add_flag('c++', [
|
||||
"-DEWOL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
|
||||
"-DEWOL_VERSION=\"\\\"" + tools.version_to_string(my_module.get_pkg("VERSION")) + "\\\"\""
|
||||
])
|
||||
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user