Kaynağa Gözat

CMake: don't use system GLFW headers if using built-in GLFW

This fixes the current CI failure.
pull/832/head
Ahmad Fatoum 6 yıl önce
ebeveyn
işleme
ae2e48c77f
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: C3EAC3DE9321D59B
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. +1
    -0
      src/CMakeLists.txt

+ 1
- 0
src/CMakeLists.txt Dosyayı Görüntüle

@ -37,6 +37,7 @@ if(NOT glfw3_FOUND AND NOT USE_EXTERNAL_GLFW STREQUAL "ON" AND "${PLATFORM}" MAT
add_subdirectory(external/glfw)
list(APPEND raylib_sources $<TARGET_OBJECTS:glfw_objlib>)
include_directories(BEFORE SYSTEM external/glfw/include)
else()
MESSAGE(STATUS "Using external GLFW")
set(GLFW_PKG_DEPS glfw3)

Yükleniyor…
İptal
Kaydet