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 b7c0d5b6dd.
This commit is contained in:
Ahmad Fatoum 2020-03-09 08:29:47 +01:00 committed by GitHub
parent b7c0d5b6dd
commit eb6f8bd0ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 10 additions and 10 deletions

View file

@ -96,7 +96,7 @@ endif()
include_directories(BEFORE SYSTEM others/external/include)
if (NOT TARGET raylib)
find_package(raylib REQUIRED)
find_package(raylib 2.0 REQUIRED)
endif()
# Do each example