Skip to content

Commit 2b76a33

Browse files
committed
Update raylib in the branch
1 parent 70139ae commit 2b76a33

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.11)
22
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
33
project (raylib_cpp
4-
VERSION 5.0.1
4+
VERSION 5.1.0
55
DESCRIPTION "raylib-cpp C++ Object Oriented Wrapper for raylib"
66
HOMEPAGE_URL "https://github.com/robloach/raylib-cpp"
77
LANGUAGES C CXX

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (NOT raylib_FOUND)
1515
FetchContent_Declare(
1616
raylib
1717
GIT_REPOSITORY https://github.com/raysan5/raylib.git
18-
GIT_TAG ae50bfa2cc569c0f8d5bc4315d39db64005b1b08
18+
GIT_TAG f1007554a0a8145060797c0aa8169bdaf2c1c6b8
1919
GIT_SHALLOW 1
2020
)
2121
FetchContent_GetProperties(raylib)

include/raylib.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ extern "C" {
2424
#error "raylib-cpp targets raylib 5. Use the `next` branch for the next version of raylib."
2525
#endif
2626

27+
#if RAYLIB_VERSION_MINOR < 1
28+
#error "raylib-cpp targets raylib 5.1 or higher."
29+
#endif
30+
2731
#ifdef __cplusplus
2832
}
2933
#endif

0 commit comments

Comments
 (0)