Skip to content

Commit

Permalink
BLUGA-GRAPHICS: include raylib include
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Nov 1, 2023
1 parent be4de45 commit 03a1d38
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions libs/B-luga-graphics/deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ cmake_minimum_required(VERSION 3.20)

add_subdirectory(bluga)
add_subdirectory(bluga-physics)
add_subdirectory(raylib)
19 changes: 19 additions & 0 deletions libs/B-luga-graphics/deps/raylib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
cmake_minimum_required(VERSION 3.20)

include(FetchContent)

FetchContent_Declare(
raylib
CMAKE_ARGS "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_CONFIGURATION_TYPES=\"Release;Release\"" "-DCONFIG=Release"
URL "https://github.com/X-R-G-B/R-Bus/releases/latest/download/raylib.tar"
DOWNLOAD_NO_PROGRESS FALSE
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)

FetchContent_MakeAvailable(raylib)

target_include_directories(
${PROJECT_NAME}
PRIVATE
${raylib_SOURCE_DIR}/src
)

0 comments on commit 03a1d38

Please sign in to comment.