|
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.11) # FetchContent is available in 3.11+
|
|
project(example)
|
|
project(example)
|
|
|
|
|
|
# Set this to the minimal version you want to support
|
|
# 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
|
|
# 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
|