mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-03 01:18:26 +00:00
Update raylib in the branch
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user