mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-05 13:49:17 -05:00
Update projects/CMake/CMakeLists.txt to raylib 5.0 (#3623)
This commit is contained in:
@ -5,7 +5,7 @@ project(example)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# Dependencies
|
||||
set(RAYLIB_VERSION 4.5.0)
|
||||
set(RAYLIB_VERSION 5.0)
|
||||
find_package(raylib ${RAYLIB_VERSION} QUIET) # QUIET or REQUIRED
|
||||
if (NOT raylib_FOUND) # If there's none, fetch and build raylib
|
||||
include(FetchContent)
|
||||
|
||||
Reference in New Issue
Block a user