Review latest PR #1003

This commit is contained in:
Ray 2019-10-29 15:56:14 +01:00
parent 862ef0524e
commit 64c588e9d8
2 changed files with 2 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,8 +1,6 @@
# Ignore generated files # Ignore generated files
# ... # ...
.gitignore
# Ignore VIM's backup generated files # Ignore VIM's backup generated files
*.swp *.swp
*.swo *.swo

View File

@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.11) # FetchContent is available in 3.11+ cmake_minimum_required(VERSION 3.11) # FetchContent is available in 3.11+
project(example) 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 # 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 # This part downloads raylib and builds it if it's not installed on your system