Преглед изворни кода

Merge pull request #558 from yurivict/master

Fisable glfw only when it is not found and not external.
pull/561/head
Ray пре 7 година
committed by GitHub
родитељ
комит
b1d3810011
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/CMakeLists.txt

+ 1
- 1
src/CMakeLists.txt Прегледај датотеку

@ -17,7 +17,7 @@ include_directories(SYSTEM .)
file(GLOB raylib_sources *.c)
list(REMOVE_ITEM raylib_sources ${CMAKE_CURRENT_SOURCE_DIR}/rglfw.c)
if(NOT glfw3_FOUND AND "${PLATFORM}" MATCHES "Desktop")
if(NOT glfw3_FOUND AND ">NOT USE_EXTERNAL_GLFW AND "${PLATFORM}" MATCHES "Desktop")
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)

Loading…
Откажи
Сачувај