summaryrefslogtreecommitdiffhomepage
path: root/projects/CMake
diff options
context:
space:
mode:
authorelitepleb <[email protected]>2019-10-05 23:24:03 +0300
committerAhmad Fatoum <[email protected]>2019-10-10 12:39:40 +0200
commit82306af111894397cb2028ac270f2916aa615fab (patch)
tree0df80eb68f3db6d77d84e49925bcc960675bde9a /projects/CMake
parent596338b26a1196e98d1b842a3bd97423ceb5d595 (diff)
downloadraylib-82306af111894397cb2028ac270f2916aa615fab.tar.gz
raylib-82306af111894397cb2028ac270f2916aa615fab.zip
projects: CMake: bump up minimal raylib version (#983)
While at it, add comment to indicate what the version signifies. [a3f: updated commit message]
Diffstat (limited to 'projects/CMake')
-rw-r--r--projects/CMake/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/CMake/CMakeLists.txt b/projects/CMake/CMakeLists.txt
index cf1d65a6..ef0d3c1b 100644
--- a/projects/CMake/CMakeLists.txt
+++ b/projects/CMake/CMakeLists.txt
@@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.11) # FetchContent is available in 3.11+
project(example)
-find_package(raylib 2.0 QUIET) # Let CMake search for a raylib-config.cmake
+# Set this to the minimal version you want to support
+find_package(raylib 2.5 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