switch: mojoal on switch by default
This commit is contained in:
parent
feb8ba51ab
commit
abdad11a71
@ -19,11 +19,7 @@ if(NOT CMAKE_BUILD_TYPE)
|
|||||||
set(CMAKE_BUILD_TYPE "STKRelease")
|
set(CMAKE_BUILD_TYPE "STKRelease")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(USE_SWITCH "Build targeting switch" OFF)
|
CMAKE_DEPENDENT_OPTION(USE_SWITCH "Build targeting switch" OFF "NOT NINTENDO_SWITCH" ON)
|
||||||
|
|
||||||
if(NINTENDO_SWITCH)
|
|
||||||
set(USE_SWITCH ON)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
option(USE_DIRECTX "Build DirectX 9 driver (requires DirectX SDK)" OFF)
|
option(USE_DIRECTX "Build DirectX 9 driver (requires DirectX SDK)" OFF)
|
||||||
@ -52,7 +48,7 @@ CMAKE_DEPENDENT_OPTION(USE_SYSTEM_SQUISH "Use system Squish library instead of t
|
|||||||
CMAKE_DEPENDENT_OPTION(USE_WIIUSE "Support for wiimote input devices" ON
|
CMAKE_DEPENDENT_OPTION(USE_WIIUSE "Support for wiimote input devices" ON
|
||||||
"NOT SERVER_ONLY;NOT CYGWIN;NOT USE_SWITCH;NOT MSVC" OFF)
|
"NOT SERVER_ONLY;NOT CYGWIN;NOT USE_SWITCH;NOT MSVC" OFF)
|
||||||
CMAKE_DEPENDENT_OPTION(USE_DNS_C "Build bundled dns resolver" OFF "NOT CYGWIN;NOT USE_SWITCH" ON)
|
CMAKE_DEPENDENT_OPTION(USE_DNS_C "Build bundled dns resolver" OFF "NOT CYGWIN;NOT USE_SWITCH" ON)
|
||||||
CMAKE_DEPENDENT_OPTION(USE_MOJOAL "Use bundled MojoAL instead of system OpenAL" OFF "NOT APPLE" ON)
|
CMAKE_DEPENDENT_OPTION(USE_MOJOAL "Use bundled MojoAL instead of system OpenAL" OFF "NOT APPLE;NOT USE_SWITCH" ON)
|
||||||
|
|
||||||
if (DLOPEN_MOLTENVK)
|
if (DLOPEN_MOLTENVK)
|
||||||
ADD_DEFINITIONS(-DDLOPEN_MOLTENVK)
|
ADD_DEFINITIONS(-DDLOPEN_MOLTENVK)
|
||||||
|
@ -13,7 +13,6 @@ fi
|
|||||||
cd "${STK_DIR}/cmake_build"
|
cd "${STK_DIR}/cmake_build"
|
||||||
|
|
||||||
"${DEVKITPRO}/portlibs/switch/bin/aarch64-none-elf-cmake" -G"Unix Makefiles" \
|
"${DEVKITPRO}/portlibs/switch/bin/aarch64-none-elf-cmake" -G"Unix Makefiles" \
|
||||||
-DUSE_SWITCH=ON -DUSE_MOJOAL=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/ \
|
-DCMAKE_INSTALL_PREFIX=/ \
|
||||||
../
|
../
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user