summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2018-07-29 18:23:23 +0200
committerAhmad Fatoum <[email protected]>2018-07-29 18:27:59 +0200
commite82505b873370b8f3a914a079062c21e64353210 (patch)
tree92e16ff3e7dfb4b4e7696fa58cb67781a0fea5ff /src
parent548dbeb1ca1e62a4893bb7041228915a97cd5b0e (diff)
downloadraylib-e82505b873370b8f3a914a079062c21e64353210.tar.gz
raylib-e82505b873370b8f3a914a079062c21e64353210.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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 $<TARGET_OBJECTS:glfw_objlib>)
else()
MESSAGE(STATUS "Using external GLFW")
- set(GLFW_PKG_DEPS glfw)
+ set(GLFW_PKG_DEPS glfw3)
endif()
add_definitions("-DRAYLIB_CMAKE=1")