mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-22 08:50:18 +01:00
Compare commits
2 commits
685dfe78c2
...
43ce86571c
Author | SHA1 | Date | |
---|---|---|---|
|
43ce86571c | ||
|
4188cd3455 |
2 changed files with 3 additions and 2 deletions
|
@ -82,7 +82,7 @@ SET(SDL2_SEARCH_PATHS
|
||||||
FIND_PATH(SDL2_INCLUDE_DIR SDL.h
|
FIND_PATH(SDL2_INCLUDE_DIR SDL.h
|
||||||
HINTS
|
HINTS
|
||||||
$ENV{SDL2DIR}
|
$ENV{SDL2DIR}
|
||||||
PATH_SUFFIXES include/SDL2 include
|
PATH_SUFFIXES include/SDL2 include SDL2
|
||||||
PATHS ${SDL2_SEARCH_PATHS}
|
PATHS ${SDL2_SEARCH_PATHS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -170,4 +170,4 @@ ENDIF(SDL2_LIBRARY_TEMP)
|
||||||
|
|
||||||
INCLUDE(FindPackageHandleStandardArgs)
|
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)
|
||||||
|
|
|
@ -10,6 +10,7 @@ set(CMAKE_STRIP "${TOOLCHAIN_PREFIX}-strip")
|
||||||
set(CMAKE_SIZE "${TOOLCHAIN_PREFIX}-size")
|
set(CMAKE_SIZE "${TOOLCHAIN_PREFIX}-size")
|
||||||
set(CMAKE_AR "${TOOLCHAIN_PREFIX}-ar")
|
set(CMAKE_AR "${TOOLCHAIN_PREFIX}-ar")
|
||||||
set(ASSEMBLER "${TOOLCHAIN_PREFIX}-as")
|
set(ASSEMBLER "${TOOLCHAIN_PREFIX}-as")
|
||||||
|
set(CMAKE_RC_COMPILER "${TOOLCHAIN_PREFIX}-windres")
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX})
|
set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX})
|
||||||
|
|
Loading…
Reference in a new issue