Update raylib in the branch

This commit is contained in:
Rob Loach
2024-05-04 15:41:01 -04:00
parent 70139aed3f
commit 2b76a33413
3 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.11)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
project (raylib_cpp
VERSION 5.0.1
VERSION 5.1.0
DESCRIPTION "raylib-cpp C++ Object Oriented Wrapper for raylib"
HOMEPAGE_URL "https://github.com/robloach/raylib-cpp"
LANGUAGES C CXX

View File

@@ -15,7 +15,7 @@ if (NOT raylib_FOUND)
FetchContent_Declare(
raylib
GIT_REPOSITORY https://github.com/raysan5/raylib.git
GIT_TAG ae50bfa2cc569c0f8d5bc4315d39db64005b1b08
GIT_TAG f1007554a0a8145060797c0aa8169bdaf2c1c6b8
GIT_SHALLOW 1
)
FetchContent_GetProperties(raylib)

View File

@@ -24,6 +24,10 @@ extern "C" {
#error "raylib-cpp targets raylib 5. Use the `next` branch for the next version of raylib."
#endif
#if RAYLIB_VERSION_MINOR < 1
#error "raylib-cpp targets raylib 5.1 or higher."
#endif
#ifdef __cplusplus
}
#endif