summaryrefslogtreecommitdiffhomepage
path: root/projects/CMake
diff options
context:
space:
mode:
authorPeter0x44 <[email protected]>2023-12-11 07:29:19 +0000
committerGitHub <[email protected]>2023-12-11 08:29:19 +0100
commit28bdaa2da6ca66306d89b75bdf727746effb11ad (patch)
tree03f7e89ff64f31936a8848736dfabe49ef60fc28 /projects/CMake
parent032cc497ca5aaca862dc926a93c2a45ed8017737 (diff)
downloadraylib-28bdaa2da6ca66306d89b75bdf727746effb11ad.tar.gz
raylib-28bdaa2da6ca66306d89b75bdf727746effb11ad.zip
Update projects/CMake/CMakeLists.txt to raylib 5.0 (#3623)
Diffstat (limited to 'projects/CMake')
-rw-r--r--projects/CMake/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/CMake/CMakeLists.txt b/projects/CMake/CMakeLists.txt
index cc606a4a..ee258d60 100644
--- a/projects/CMake/CMakeLists.txt
+++ b/projects/CMake/CMakeLists.txt
@@ -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)
@@ -40,4 +40,4 @@ if (APPLE)
target_link_libraries(${PROJECT_NAME} "-framework IOKit")
target_link_libraries(${PROJECT_NAME} "-framework Cocoa")
target_link_libraries(${PROJECT_NAME} "-framework OpenGL")
-endif() \ No newline at end of file
+endif()