Explorar el Código

Merge branch 'develop' of https://github.com/raysan5/raylib into develop

pull/458/head
raysan5 hace 6 años
padre
commit
8f287e72d2
Se han modificado 2 ficheros con 5 adiciones y 5 borrados
  1. +1
    -1
      .travis.yml
  2. +4
    -4
      utils.cmake

+ 1
- 1
.travis.yml Ver fichero

@ -45,7 +45,7 @@ before_install:
script:
- mkdir build
- cd build
- cmake -DMACOS_FATLIB=ON -DSTATIC_RAYLIB=ON -DSHARED_RAYLIB=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=ON -DWITH_SYSTEM_GLFW=IF_POSSIBLE ..
- cmake -DMACOS_FATLIB=ON -DSTATIC_RAYLIB=ON -DSHARED_RAYLIB=ON -DBUILD_EXAMPLES=ON -DBUILD_GAMES=ON -DUSE_EXTERNAL_GLFW=IF_POSSIBLE ..
- make VERBOSE=1
- make package

+ 4
- 4
utils.cmake Ver fichero

@ -1,8 +1,8 @@
# All sorts of things that we need cross project
cmake_minimum_required(VERSION 2.8.0)
set(WITH_SYSTEM_GLFW OFF CACHE STRING "Link raylib against system GLFW instead of embedded one")
set_property(CACHE WITH_SYSTEM_GLFW PROPERTY STRINGS ON OFF IF_POSSIBLE)
set(USE_EXTERNAL_GLFW OFF CACHE STRING "Link raylib against system GLFW instead of embedded one")
set_property(CACHE USE_EXTERNAL_GLFW PROPERTY STRINGS ON OFF IF_POSSIBLE)
# Linking for OS X -framework options
# Will do nothing on other OSes
@ -36,9 +36,9 @@ else()
endif()
endif()
if(WITH_SYSTEM_GLFW STREQUAL "ON")
if(USE_EXTERNAL_GLFW STREQUAL "ON")
find_package(glfw3 3.2.1 REQUIRED)
elseif(WITH_SYSTEM_GLFW STREQUAL "IF_POSSIBLE")
elseif(USE_EXTERNAL_GLFW STREQUAL "IF_POSSIBLE")
find_package(glfw3 3.2.1)
endif()
if (glfw3_FOUND)

Cargando…
Cancelar
Guardar