summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Sas <sas.luca.al@gmail.com>2023-08-15 22:30:37 +0100
committerGitHub <noreply@github.com>2023-08-15 22:30:37 +0100
commit1275c37b494274a66346219ef43eb2e2868fa3c7 (patch)
tree58ff7097751f40450d5c9c478e24b80a94ee9288
parent5f400940aa855b0e37fe8de7b29c314ce3427e6e (diff)
parentcfdece0082e006a234fc05d5d2c381d7c0d73e1d (diff)
downloadgamejam-slgj-2024-1275c37b494274a66346219ef43eb2e2868fa3c7.tar.gz
gamejam-slgj-2024-1275c37b494274a66346219ef43eb2e2868fa3c7.tar.bz2
gamejam-slgj-2024-1275c37b494274a66346219ef43eb2e2868fa3c7.zip
Merge pull request #6 from ranguli/add-cmake-output
Add descriptive CMake output (and update .gitignore)
-rw-r--r--CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6ce26e2..6ac4767 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,9 +4,17 @@ set(CMAKE_C_STANDARD 99)
# Adding Raylib
include(FetchContent)
+set(FETCHCONTENT_QUIET FALSE)
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) # don't build the supplied examples
set(BUILD_GAMES OFF CACHE BOOL "" FORCE) # don't build the supplied example games
-FetchContent_Declare(raylib GIT_REPOSITORY https://github.com/raysan5/raylib.git GIT_TAG master)
+
+FetchContent_Declare(
+ raylib
+ GIT_REPOSITORY "https://github.com/raysan5/raylib.git"
+ GIT_TAG "master"
+ GIT_PROGRESS TRUE
+)
+
FetchContent_MakeAvailable(raylib)
# Adding our source files