summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/support/command-line.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/command-line.cpp b/src/support/command-line.cpp
index e4dff8aad..2bdcd7c71 100644
--- a/src/support/command-line.cpp
+++ b/src/support/command-line.cpp
@@ -58,7 +58,7 @@ Options::Options(const std::string& command, const std::string& description)
"Output version information and exit",
Arguments::Zero,
[command](Options*, const std::string&) {
- std::cout << command << " version " << CMAKE_PROJECT_VERSION << "\n";
+ std::cout << command << " version " << PROJECT_VERSION << "\n";
exit(0);
});
add("--help",