Set project version in app for correct display in Control Panel

This commit is contained in:
Alex Spataru 2024-11-29 18:21:38 -05:00
parent f480082f3a
commit 729c117a1b
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
#-------------------------------------------------------------------------------
cmake_minimum_required(VERSION 3.20)
project(app LANGUAGES CXX)
project(app LANGUAGES CXX VERSION ${PROJECT_VERSION})
#-------------------------------------------------------------------------------
# C++ options

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20)
project(qmqtt VERSION 1.0.3)
project(qmqtt)
option(${PROJECT_NAME}_SHARED "Build a shared library. Turn off for static." OFF)
option(${PROJECT_NAME}_WEBSOCKETS "Enable WebSockets for MQTT" OFF)