Fix project name for versioning

This commit is contained in:
Bob Polis 2024-09-19 16:34:08 +02:00
parent 06c81c5d57
commit 9dc0315dd1
2 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@
#include "commit.inc" #include "commit.inc"
#include <sstream> #include <sstream>
std::string {PROJECT}_version() { std::string screensaver_version() {
std::ostringstream oss; std::ostringstream oss;
oss << "{PROJECT} version " << version; oss << "screensaver version " << version;
#ifdef DEBUG #ifdef DEBUG
oss << " DEBUG"; oss << " DEBUG";
#endif #endif

View File

@ -3,6 +3,6 @@
#include <string> #include <string>
std::string {PROJECT}_version(); std::string screensaver_version();
#endif // VERSION_H_ #endif // VERSION_H_