diff --git a/BleedThroughCorrection/CMakeLists.txt b/BleedThroughCorrection/CMakeLists.txt index 27d2617..1b8b805 100644 --- a/BleedThroughCorrection/CMakeLists.txt +++ b/BleedThroughCorrection/CMakeLists.txt @@ -27,8 +27,6 @@ include_directories("../common" "../widgets") add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common ${CMAKE_CURRENT_BINARY_DIR}/common) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../widgets ${CMAKE_CURRENT_BINARY_DIR}/widgets) -set(RELEASE_VERSION OFF CACHE BOOL "Build as release version (No test paths)") - if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) qt_add_executable(${CMAKE_PROJECT_NAME} MANUAL_FINALIZATION diff --git a/BleedThroughCorrection/MainWindow.cpp b/BleedThroughCorrection/MainWindow.cpp index 1e3b817..c7d6966 100644 --- a/BleedThroughCorrection/MainWindow.cpp +++ b/BleedThroughCorrection/MainWindow.cpp @@ -101,7 +101,7 @@ MainWindow::MainWindow(QWidget *parent) } }); - setWindowTitle(tr("Bleed-Through Correction r%1").arg(GIT_REVISION)); + setWindowTitle("Bleed-Through Correction " APP_VERSION); m_ui->buttonRender->setEnabled(false); m_ui->buttonCorrect->setEnabled(false); diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 229364d..aa0c066 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -20,7 +20,7 @@ set (PROJECT_SOURCES ) if(RELEASE_VERSION) - set(BUILD_VERSION 0) + set(BUILD_VERSION 0x00000100) set(BUILD_BRANCH "release") set(BUILD_APP_VER "v0.1") else(RELEASE_VERSION)