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
9 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# Setup the project and settings
project(games)
# Get the source together
# Get the source toegher
file(GLOB sources *.c)
set(OUTPUT_EXT)
@ -18,7 +18,7 @@ if(${PLATFORM} MATCHES "Web")
endif()
if (NOT TARGET raylib)
find_package(raylib REQUIRED)
find_package(raylib 2.0 REQUIRED)
endif()
# Do each game