This commit is contained in:
Kevin Burke 2014-05-24 12:16:52 +09:00
parent 5fc0b75414
commit 80a74ae27d
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ before_install:
- sudo apt-get install -y --force-yes binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686 libsdl2-static-dev
- ls -al /usr/bin
- ls -al /usr/include/SDL2
- mv /usr/include/SDL2 /usr/include/sdl2
- sudo mv /usr/include/SDL2 /usr/include/sdl2
- find / -name SDL2
script:
- echo "Hello World"

View File

@ -24,7 +24,7 @@ INCLUDE_DIRECTORIES(${SDL2_INCLUDE_DIRS})
SET(CMAKE_FIND_ROOT_PATH /usr/${COMPILER_PREFIX})
# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search
# search headers and libraries in the target environment, search
# programs in the host environment
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)