浏览代码

[cmake] Update to raylib 4.5 (#264)

Rob Loach 2 年之前
父节点
当前提交
abbf1b1198
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 3 3
      projects/CMake/CMakeLists.txt
  2. 2 2
      projects/CMake/cmake/FindRaylib.cmake

+ 3 - 3
projects/CMake/CMakeLists.txt

@@ -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
-        text_editor
+        style_selector
     )
     )
 
 
     set(example_sources)
     set(example_sources)

+ 2 - 2
projects/CMake/cmake/FindRaylib.cmake

@@ -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?