From e82505b873370b8f3a914a079062c21e64353210 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sun, 29 Jul 2018 18:23:23 +0200 Subject: Add projects/CMake example The CMakeLists.txt checks for an installed raylib and downloads and installs one if none is found. Afterwards, it builds core_basic_window.c --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ceee761f..2e561fc5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -43,7 +43,7 @@ if(NOT glfw3_FOUND AND NOT USE_EXTERNAL_GLFW STREQUAL "ON" AND "${PLATFORM}" MAT list(APPEND raylib_sources $) else() MESSAGE(STATUS "Using external GLFW") - set(GLFW_PKG_DEPS glfw) + set(GLFW_PKG_DEPS glfw3) endif() add_definitions("-DRAYLIB_CMAKE=1") -- cgit v1.2.3