[DEBUG] correct version number

This commit is contained in:
Edouard DUPIN 2016-10-06 21:42:40 +02:00
parent b3cad882f8
commit 0cf4e92bc9

View File

@ -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