|
@@ -17,9 +17,8 @@ if (NOT raylib_FOUND) # If there's none, fetch and build raylib
|
|
FetchContent_GetProperties(raylib)
|
|
FetchContent_GetProperties(raylib)
|
|
if (NOT raylib_POPULATED) # Have we downloaded raylib yet?
|
|
if (NOT raylib_POPULATED) # Have we downloaded raylib yet?
|
|
set(FETCHCONTENT_QUIET NO)
|
|
set(FETCHCONTENT_QUIET NO)
|
|
- FetchContent_Populate(raylib)
|
|
|
|
|
|
+ FetchContent_MakeAvailable(raylib)
|
|
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) # don't build the supplied examples
|
|
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) # don't build the supplied examples
|
|
- add_subdirectory(${raylib_SOURCE_DIR} ${raylib_BINARY_DIR})
|
|
|
|
endif()
|
|
endif()
|
|
endif()
|
|
endif()
|
|
|
|
|