mirror of
https://github.com/SFML/SFML.git
synced 2025-01-18 23:35:11 +08:00
Update SFML version to 3.0.1
This commit is contained in:
parent
7f1162dfea
commit
c31b12690a
@ -29,9 +29,9 @@ sfml_set_option(CMAKE_BUILD_TYPE Release STRING "Choose the type of build (Debug
|
|||||||
sfml_set_option(CMAKE_OSX_DEPLOYMENT_TARGET "13.0" STRING "The minimal iOS version that will be able to run the built binaries. Cannot be lower than 13.0")
|
sfml_set_option(CMAKE_OSX_DEPLOYMENT_TARGET "13.0" STRING "The minimal iOS version that will be able to run the built binaries. Cannot be lower than 13.0")
|
||||||
|
|
||||||
# project name
|
# project name
|
||||||
project(SFML VERSION 3.0.0)
|
project(SFML VERSION 3.0.1)
|
||||||
|
|
||||||
set(VERSION_IS_RELEASE ON)
|
set(VERSION_IS_RELEASE OFF)
|
||||||
|
|
||||||
# include the configuration file
|
# include the configuration file
|
||||||
include(cmake/Config.cmake)
|
include(cmake/Config.cmake)
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#define SFML_VERSION_MAJOR 3
|
#define SFML_VERSION_MAJOR 3
|
||||||
#define SFML_VERSION_MINOR 0
|
#define SFML_VERSION_MINOR 0
|
||||||
#define SFML_VERSION_PATCH 0
|
#define SFML_VERSION_PATCH 1
|
||||||
#define SFML_VERSION_IS_RELEASE true
|
#define SFML_VERSION_IS_RELEASE false
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
@ -13,7 +13,7 @@ if(PROJECT_IS_TOP_LEVEL)
|
|||||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(SFML 3.0.0 EXACT CONFIG REQUIRED COMPONENTS Graphics Network Audio)
|
find_package(SFML 3.0.1 EXACT CONFIG REQUIRED COMPONENTS Graphics Network Audio)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_executable(test-sfml-install Install.cpp)
|
add_executable(test-sfml-install Install.cpp)
|
||||||
|
Loading…
Reference in New Issue
Block a user