We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d43610 commit 344d529Copy full SHA for 344d529
projects/CMake/CMakeLists.txt
@@ -17,11 +17,14 @@ endif()
17
# raylib-cpp
18
find_package(raylib_cpp QUIET)
19
if (NOT raylib_cpp_FOUND)
20
+ if (NOT DEFINED RAYLIB_CPP_VERSION)
21
+ set(RAYLIB_CPP_VERSION v5.0.1)
22
+ endif()
23
include(FetchContent)
24
FetchContent_Declare(
25
raylib_cpp
26
GIT_REPOSITORY https://github.com/RobLoach/raylib-cpp.git
- GIT_TAG v5.0.1
27
+ GIT_TAG ${RAYLIB_CPP_VERSION}
28
)
29
FetchContent_MakeAvailable(raylib_cpp)
30
endif()
0 commit comments