@ -49,7 +49,6 @@ if (YUZU_STATIC_ROOM)
# d i s a b l e e v e r y t h i n g
# d i s a b l e e v e r y t h i n g
set ( ENABLE_QT OFF )
set ( ENABLE_QT OFF )
set ( ENABLE_SDL2 OFF )
set ( YUZU_CMD OFF )
set ( YUZU_CMD OFF )
set ( ENABLE_CUBEB OFF )
set ( ENABLE_CUBEB OFF )
set ( ENABLE_UPDATE_CHECKER OFF )
set ( ENABLE_UPDATE_CHECKER OFF )
@ -171,13 +170,9 @@ if (MSVC AND NOT CXX_CLANG)
set ( CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} /W3 /WX-" )
set ( CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} /W3 /WX-" )
endif ( )
endif ( )
# S e t b u n d l e d s d l 2 / q t a s d e p e n d e n t o p t i o n s .
# O n L i n u x s y s t e m S D L 2 i s l i k e l y t o b e l a c k i n g H I D A P I s u p p o r t w h i c h h a v e d r a w b a c k s b u t i s n e e d e d f o r S D L m o t i o n
cmake_dependent_option ( ENABLE_SDL2 "Enable the SDL2 frontend" ON "NOT ANDROID" OFF )
# TODO ( crueter ) : C l e a n u p , e a c h d e p t h a t h a s a b u n d l e d o p t i o n s h o u l d a l l o w t o c h o o s e b e t w e e n b u n d l e d , e x t e r n a l , s y s t e m
# TODO ( crueter ) : C l e a n u p , e a c h d e p t h a t h a s a b u n d l e d o p t i o n s h o u l d a l l o w t o c h o o s e b e t w e e n b u n d l e d , e x t e r n a l , s y s t e m
cmake_dependent_option ( YUZU_USE_EXTERNAL_SDL2 "Build SDL2 from external source" OFF "ENABLE_SDL2; NOT MSVC" OFF )
cmake_dependent_option ( YUZU_USE_BUNDLED_SDL2 "Download bundled SDL2 build" "${MSVC}" "ENABLE_SDL2 " OFF )
cmake_dependent_option ( YUZU_USE_EXTERNAL_SDL2 "Build SDL2 from external source" OFF "NOT MSVC;NOT ANDROID" OFF )
cmake_dependent_option ( YUZU_USE_BUNDLED_SDL2 "Download bundled SDL2 build" "${MSVC}" "NOT ANDROID" OFF )
option ( ENABLE_CUBEB "Enables the cubeb audio backend" ON )
option ( ENABLE_CUBEB "Enables the cubeb audio backend" ON )
@ -220,7 +215,7 @@ option(NIGHTLY_BUILD "Use Nightly qualifiers in the update checker and build met
cmake_dependent_option ( YUZU_ROOM "Enable dedicated room functionality" ON "NOT ANDROID" OFF )
cmake_dependent_option ( YUZU_ROOM "Enable dedicated room functionality" ON "NOT ANDROID" OFF )
cmake_dependent_option ( YUZU_ROOM_STANDALONE "Enable standalone room executable" ON "YUZU_ROOM" OFF )
cmake_dependent_option ( YUZU_ROOM_STANDALONE "Enable standalone room executable" ON "YUZU_ROOM" OFF )
cmake_dependent_option ( YUZU_CMD "Compile the eden-cli executable" ON "ENABLE_SDL2; NOT ANDROID" OFF )
cmake_dependent_option ( YUZU_CMD "Compile the eden-cli executable" ON "NOT ANDROID" OFF )
cmake_dependent_option ( YUZU_CRASH_DUMPS "Compile crash dump (Minidump) support" OFF "WIN32 OR PLATFORM_LINUX" OFF )
cmake_dependent_option ( YUZU_CRASH_DUMPS "Compile crash dump (Minidump) support" OFF "WIN32 OR PLATFORM_LINUX" OFF )
@ -544,7 +539,7 @@ if (NOT YUZU_STATIC_ROOM)
find_package ( oaknut )
find_package ( oaknut )
endif ( )
endif ( )
if ( ENABLE_SDL2 )
if ( NOT ANDROID )
find_package ( SDL2 )
find_package ( SDL2 )
endif ( )
endif ( )