summaryrefslogtreecommitdiffhomepage
path: root/projects/CMake
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-04-13 15:10:42 +0200
committerraysan5 <[email protected]>2020-04-13 15:10:42 +0200
commit26f39e41a931cfb9fa917636454a5bf6caae6cfc (patch)
tree18402a0bbb8fd11f77c1333da0d5cc1cba8cf505 /projects/CMake
parentfd5d1dfcb6d740728f21cdd08ba8387b0ee2f899 (diff)
downloadraylib-26f39e41a931cfb9fa917636454a5bf6caae6cfc.tar.gz
raylib-26f39e41a931cfb9fa917636454a5bf6caae6cfc.zip
Remove games from building
Diffstat (limited to 'projects/CMake')
-rw-r--r--projects/CMake/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/projects/CMake/CMakeLists.txt b/projects/CMake/CMakeLists.txt
index ef0d3c1b..496577e9 100644
--- a/projects/CMake/CMakeLists.txt
+++ b/projects/CMake/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.11) # FetchContent is available in 3.11+
project(example)
# Set this to the minimal version you want to support
-find_package(raylib 2.5 QUIET) # Let CMake search for a raylib-config.cmake
+find_package(raylib 3.0 QUIET) # Let CMake search for a raylib-config.cmake
# You could change the QUIET above to REQUIRED and remove this if() clause
# This part downloads raylib and builds it if it's not installed on your system
@@ -20,7 +20,6 @@ if (NOT raylib_FOUND) # If there's none, fetch and build raylib
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
# build raylib
add_subdirectory(${raylib_SOURCE_DIR} ${raylib_BINARY_DIR})