mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 05:26:13 +01:00
Use built-in project version variables
This commit is contained in:
1 parent
356eeb3ae6
commit
fbf4b000ef
3 files changed
+5
-10
No files matched your search
+1
-6
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user