Used Bloom version number from CMakeLists.txt file instead of repeating
This commit is contained in:
@@ -33,6 +33,8 @@ set(CMAKE_BUILD_RPATH_USE_ORIGIN true)
|
||||
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
|
||||
set(CMAKE_BUILD_RPATH ${CMAKE_INSTALL_RPATH})
|
||||
|
||||
add_compile_definitions(BLOOM_VERSION="${CMAKE_PROJECT_VERSION}")
|
||||
|
||||
if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
|
||||
add_compile_definitions(BLOOM_DEBUG_BUILD)
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace Bloom
|
||||
class Application: public Thread
|
||||
{
|
||||
public:
|
||||
static const inline VersionNumber VERSION = VersionNumber(0, 5, 0);
|
||||
static const inline VersionNumber VERSION = VersionNumber(BLOOM_VERSION);
|
||||
|
||||
explicit Application() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user