Use built-in project version variables

This commit is contained in:
Chris Thrasher authored and Lukas Dürrenberger committed 2023-02-21 00:00:23 +01:00
1 parent 356eeb3ae6
commit fbf4b000ef
3 files changed
+5 -10

No files matched your search

+1 -6
View File
@@ -13,16 +13,11 @@ endmacro()
csfml_set_option(CMAKE_BUILD_TYPE Release STRING "Choose the type of build (Debug or Release)")
# project name
project(CSFML)
project(CSFML VERSION 2.5.1)
# include the configuration file
include(${PROJECT_SOURCE_DIR}/cmake/Config.cmake)
# setup version numbers
set(VERSION_MAJOR 2)
set(VERSION_MINOR 5)
set(VERSION_PATCH 1)
# add the CSFML header path
include_directories(${PROJECT_SOURCE_DIR}/include)