diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.h.in | 2 | ||||
-rw-r--r-- | src/option-parser.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config.h.in b/src/config.h.in index 99f1741e..3864f770 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -20,7 +20,7 @@ #include <stdint.h> #include <stdlib.h> -#cmakedefine WABT_VERSION_INFO "${WABT_VERSION_INFO}" +#cmakedefine CMAKE_PROJECT_VERSION "${CMAKE_PROJECT_VERSION}" /* TODO(binji): nice way to define these with WABT_ prefix? */ diff --git a/src/option-parser.cc b/src/option-parser.cc index 9d1957f2..071cf8cc 100644 --- a/src/option-parser.cc +++ b/src/option-parser.cc @@ -57,7 +57,7 @@ OptionParser::OptionParser(const char* program_name, const char* description) exit(0); }); AddOption("version", "Print version information", []() { - printf("%s\n", WABT_VERSION_INFO); + printf("%s\n", CMAKE_PROJECT_VERSION); exit(0); }); } |