mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-02 12:19:17 -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)
|
if (NOT raylib_FOUND)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
@ -14,4 +14,4 @@ if (NOT raylib_FOUND)
|
|||||||
set(BUILD_GAMES OFF CACHE BOOL "" FORCE) # or games
|
set(BUILD_GAMES OFF CACHE BOOL "" FORCE) # or games
|
||||||
add_subdirectory(${raylib_SOURCE_DIR} ${raylib_BINARY_DIR})
|
add_subdirectory(${raylib_SOURCE_DIR} ${raylib_BINARY_DIR})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user