-
-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
52 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
find_package(raylib 3.0.0 QUIET CONFIG) | ||
if (NOT raylib_FOUND) | ||
include(FetchContent) | ||
FetchContent_Declare( | ||
raylib | ||
GIT_REPOSITORY https://github.com/raysan5/raylib.git | ||
GIT_TAG 6a8b1079c13b7d5e1bddc0ecc86ad7e16fc2556d | ||
) | ||
FetchContent_GetProperties(raylib) | ||
if (NOT raylib_POPULATED) # Have we downloaded raylib yet? | ||
set(FETCHCONTENT_QUIET NO) | ||
FetchContent_Populate(raylib) | ||
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) # don't build the supplied examples | ||
set(BUILD_GAMES OFF CACHE BOOL "" FORCE) # or games | ||
add_subdirectory(${raylib_SOURCE_DIR} ${raylib_BINARY_DIR}) | ||
endif() | ||
include(FetchContent) | ||
FetchContent_Declare( | ||
raylib | ||
GIT_REPOSITORY https://github.com/raysan5/raylib.git | ||
GIT_TAG df5c522049ddd82fba048a6bd069338999729d6a | ||
) | ||
FetchContent_GetProperties(raylib) | ||
if (NOT raylib_POPULATED) # Have we downloaded raylib yet? | ||
set(FETCHCONTENT_QUIET NO) | ||
FetchContent_Populate(raylib) | ||
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) # don't build the supplied examples | ||
set(BUILD_GAMES OFF CACHE BOOL "" FORCE) # or games | ||
add_subdirectory(${raylib_SOURCE_DIR} ${raylib_BINARY_DIR}) | ||
endif() | ||
endif() |