Sfoglia il codice sorgente

Fix issue when trying to build raylib statically (#1544)

pull/1545/head
Nikolas 4 anni fa
committed by GitHub
parent
commit
a0d2b64747
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      cmake/GlfwImport.cmake

+ 2
- 2
cmake/GlfwImport.cmake Vedi File

@ -23,7 +23,7 @@ if(NOT glfw3_FOUND AND NOT USE_EXTERNAL_GLFW STREQUAL "ON" AND "${PLATFORM}" MAT
add_subdirectory(external/glfw)
set(BUILD_SHARED_LIBS WAS_SHARED CACHE BOOL " " FORCE)
set(BUILD_SHARED_LIBS o">${<span class="nv">WAS_SHARED} CACHE BOOL " " FORCE)
unset(WAS_SHARED)
list(APPEND raylib_sources $<TARGET_OBJECTS:glfw_objlib>)
@ -31,4 +31,4 @@ if(NOT glfw3_FOUND AND NOT USE_EXTERNAL_GLFW STREQUAL "ON" AND "${PLATFORM}" MAT
else()
MESSAGE(STATUS "Using external GLFW")
set(GLFW_PKG_DEPS glfw3)
endif()
endif()

Caricamento…
Annulla
Salva