summaryrefslogtreecommitdiffhomepage
path: root/projects/CMake
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2020-03-09 08:29:47 +0100
committerGitHub <[email protected]>2020-03-09 08:29:47 +0100
commiteb6f8bd0baa3621e27c64a864f3e9871883f515f (patch)
treeb60a9ed63f20cc3d4bdf760e3e7c5be60bd8d083 /projects/CMake
parentb7c0d5b6ddfb8fd958803db837e1839ea54f6d37 (diff)
downloadraylib-eb6f8bd0baa3621e27c64a864f3e9871883f515f.tar.gz
raylib-eb6f8bd0baa3621e27c64a864f3e9871883f515f.zip
Revert "Always use latest raylib version for cmake (#1123)" (#1126)
We didn't use the latest version, but a compatible version, which is established by raylib-config-version.cmake. It's ok to have a minimal version, so revert b7c0d5b6ddfb8fd958803db837e1839ea54f6d37.
Diffstat (limited to 'projects/CMake')
-rw-r--r--projects/CMake/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/CMake/CMakeLists.txt b/projects/CMake/CMakeLists.txt
index 8b407d32..ef0d3c1b 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 QUIET) # Let CMake search for a raylib-config.cmake
+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