diff options
| author | Ahmad Fatoum <[email protected]> | 2018-07-29 18:23:23 +0200 |
|---|---|---|
| committer | Ahmad Fatoum <[email protected]> | 2018-07-29 18:27:59 +0200 |
| commit | e82505b873370b8f3a914a079062c21e64353210 (patch) | |
| tree | 92e16ff3e7dfb4b4e7696fa58cb67781a0fea5ff /src | |
| parent | 548dbeb1ca1e62a4893bb7041228915a97cd5b0e (diff) | |
| download | raylib-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.txt | 2 |
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") |
