Update SFML version to 3.1.0

This commit is contained in:
Lukas Dürrenberger 2024-12-21 11:12:52 +01:00 committed by Chris Thrasher
parent 7f1162dfea
commit 328f38553e
3 changed files with 5 additions and 5 deletions

View File

@ -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.1.0)
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)

View File

@ -29,9 +29,9 @@
// SFML version // SFML version
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
#define SFML_VERSION_MAJOR 3 #define SFML_VERSION_MAJOR 3
#define SFML_VERSION_MINOR 0 #define SFML_VERSION_MINOR 1
#define SFML_VERSION_PATCH 0 #define SFML_VERSION_PATCH 0
#define SFML_VERSION_IS_RELEASE true #define SFML_VERSION_IS_RELEASE false
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////

View File

@ -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.1.0 EXACT CONFIG REQUIRED COMPONENTS Graphics Network Audio)
endif() endif()
add_executable(test-sfml-install Install.cpp) add_executable(test-sfml-install Install.cpp)