change ordering

This commit is contained in:
Kevin Burke 2014-05-24 12:39:00 +09:00
parent 61a602edde
commit 242c40d5ff
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ before_install:
script:
- sudo find / -name SDL2 2>>/dev/null || true
- mkdir build
- pushd build && SDL_INCLUDE_DIRS=/usr/include/SDL2 cmake -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=Debug .. && popd
- pushd build && cmake -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=Debug .. && popd
- sudo find / -name iconv.h 2>>/dev/null || true
- pushd build && make && popd
#notifications:

View File

@ -18,8 +18,8 @@ include_directories("/usr/include/wine/windows/")
# find and include SDL2
# INCLUDE(FindPkgConfig)
# PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2)
INCLUDE_DIRECTORIES("/usr/include/sdl2")
INCLUDE_DIRECTORIES("/usr/include")
INCLUDE_DIRECTORIES("/usr/include/sdl2")
# here is the target environment located
SET(CMAKE_FIND_ROOT_PATH /usr/${COMPILER_PREFIX})