Merge pull request #3848 from blattms/binary-package-version-no-buildtime

Use empty string for buildtime if BUILD_TIMESTAMP is not set.
This commit is contained in:
Markus Blatt
2022-04-05 14:54:58 +02:00
committed by GitHub

View File

@@ -51,7 +51,11 @@ namespace Opm
/// the binary was compiled.
std::string compileTimestamp()
{
#ifdef BUILD_TIMESTAMP
return BUILD_TIMESTAMP;
#else
return "";
#endif
}
} // namespace Opm