[cmake] Update to raylib 4.5 (#264)

This commit is contained in:
Rob Loach 2023-03-19 06:13:17 -04:00 committed by GitHub
parent 19f781780e
commit abbf1b1198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -33,13 +33,13 @@ if(${BUILD_RAYGUI_EXAMPLES})
set(example_dirs set(example_dirs
controls_test_suite controls_test_suite
custom_file_dialog custom_file_dialog
custom_sliders
image_exporter image_exporter
image_raw_importer image_importer_raw
portable_window portable_window
property_list property_list
scroll_panel scroll_panel
text_box_selection style_selector
text_editor
) )
set(example_sources) set(example_sources)

View File

@ -1,10 +1,10 @@
find_package(raylib 4.0.0 QUIET CONFIG) find_package(raylib 4.5.0 QUIET CONFIG)
if (NOT raylib_FOUND) if (NOT raylib_FOUND)
include(FetchContent) include(FetchContent)
FetchContent_Declare( FetchContent_Declare(
raylib raylib
GIT_REPOSITORY https://github.com/raysan5/raylib.git GIT_REPOSITORY https://github.com/raysan5/raylib.git
GIT_TAG 4.2.0 GIT_TAG 4.5.0
) )
FetchContent_GetProperties(raylib) FetchContent_GetProperties(raylib)
if (NOT raylib_POPULATED) # Have we downloaded raylib yet? if (NOT raylib_POPULATED) # Have we downloaded raylib yet?