mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
just hardcode it
This commit is contained in:
@@ -12,6 +12,6 @@ script:
|
|||||||
- sudo find / -name SDL2 2>>/dev/null || true
|
- sudo find / -name SDL2 2>>/dev/null || true
|
||||||
- echo "Hello World"
|
- echo "Hello World"
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- pushd build; SDL_INCLUDE_DIRS=/usr/include/SDL2 cmake -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=Debug .. ; popd
|
- pushd build && SDL_INCLUDE_DIRS=/usr/include/SDL2 cmake -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=Debug .. && popd
|
||||||
#notifications:
|
#notifications:
|
||||||
#irc: "irc.freenode.net#openrct2"
|
#irc: "irc.freenode.net#openrct2"
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ set(CMAKE_SHARED_LINKER_FLAGS "-static-libgcc" CACHE STRING "" FORCE)
|
|||||||
include_directories("/usr/include/wine/windows/")
|
include_directories("/usr/include/wine/windows/")
|
||||||
|
|
||||||
# find and include SDL2
|
# find and include SDL2
|
||||||
INCLUDE(FindPkgConfig)
|
# INCLUDE(FindPkgConfig)
|
||||||
PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2)
|
# PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2)
|
||||||
INCLUDE_DIRECTORIES(${SDL2_INCLUDE_DIRS})
|
INCLUDE_DIRECTORIES("/usr/include/sdl2")
|
||||||
|
|
||||||
# here is the target environment located
|
# here is the target environment located
|
||||||
SET(CMAKE_FIND_ROOT_PATH /usr/${COMPILER_PREFIX})
|
SET(CMAKE_FIND_ROOT_PATH /usr/${COMPILER_PREFIX})
|
||||||
|
|||||||
Reference in New Issue
Block a user