mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
fixed package mode in FindRaylib (#85)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
find_package(raylib 3.0.0 QUIET)
|
||||
find_package(raylib 3.0.0 QUIET CONFIG)
|
||||
if (NOT raylib_FOUND)
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
@ -14,4 +14,4 @@ if (NOT raylib_FOUND)
|
||||
set(BUILD_GAMES OFF CACHE BOOL "" FORCE) # or games
|
||||
add_subdirectory(${raylib_SOURCE_DIR} ${raylib_BINARY_DIR})
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user