[cmake] Update to raylib 4.5 (#264)
This commit is contained in:
parent
19f781780e
commit
abbf1b1198
@ -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)
|
||||||
|
@ -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?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user