File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.11)
22set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR} /cmake" )
33project (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
Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments