From d88b747c33da80f857686bd1a795b3624c9defac Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Mon, 12 Dec 2016 22:26:50 +0300 Subject: [PATCH] Valid version check --- profiler_gui/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/profiler_gui/CMakeLists.txt b/profiler_gui/CMakeLists.txt index 4ce5018..e0e3d78 100644 --- a/profiler_gui/CMakeLists.txt +++ b/profiler_gui/CMakeLists.txt @@ -12,12 +12,12 @@ find_package(Qt5Widgets) if(Qt5Widgets_FOUND) -if( NOT DEFINED EASY_PRODUCT_VERSION_STRING) - set(EASY_PROGRAM_VERSION_MAJOR 0) +if(NOT DEFINED EASY_PROGRAM_VERSION_MAJOR) + set(EASY_PROGRAM_VERSION_MAJOR 1) set(EASY_PROGRAM_VERSION_MINOR 0) set(EASY_PROGRAM_VERSION_PATCH 0) - set(EASY_PRODUCT_VERSION_STRING "0.0.0") -endif() + set(EASY_PRODUCT_VERSION_STRING "1.0.0") +endif(NOT DEFINED EASY_PROGRAM_VERSION_MAJOR) add_definitions( -DEASY_PROFILER_VERSION_MAJOR=${EASY_PROGRAM_VERSION_MAJOR}