mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
commit
282951dc44
@ -51,7 +51,11 @@ namespace Opm
|
||||
/// the binary was compiled.
|
||||
std::string compileTimestamp()
|
||||
{
|
||||
#ifdef BUILD_TIMESTAMP
|
||||
return BUILD_TIMESTAMP;
|
||||
#else
|
||||
return "";
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace Opm
|
||||
|
Loading…
Reference in New Issue
Block a user