1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-21 16:30:19 +01:00

Compare commits

...

2 commits

Author SHA1 Message Date
Muzychenko Andrey
43ce86571c MinGW: added rc compiler to toolchain.
Ref issue #54.
2021-10-19 08:13:21 +03:00
extrowerk
4188cd3455
Update FindSDL2.cmake (#53)
Fix for Haiku, because nobody can write a cross-platform build tool.
2021-10-19 08:06:37 +03:00
2 changed files with 3 additions and 2 deletions

View file

@ -82,7 +82,7 @@ SET(SDL2_SEARCH_PATHS
FIND_PATH(SDL2_INCLUDE_DIR SDL.h
HINTS
$ENV{SDL2DIR}
PATH_SUFFIXES include/SDL2 include
PATH_SUFFIXES include/SDL2 include SDL2
PATHS ${SDL2_SEARCH_PATHS}
)
@ -170,4 +170,4 @@ ENDIF(SDL2_LIBRARY_TEMP)
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2 REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2 REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR)

View file

@ -10,6 +10,7 @@ set(CMAKE_STRIP "${TOOLCHAIN_PREFIX}-strip")
set(CMAKE_SIZE "${TOOLCHAIN_PREFIX}-size")
set(CMAKE_AR "${TOOLCHAIN_PREFIX}-ar")
set(ASSEMBLER "${TOOLCHAIN_PREFIX}-as")
set(CMAKE_RC_COMPILER "${TOOLCHAIN_PREFIX}-windres")
set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX})