@ -26,6 +26,10 @@ option(ENABLE_CUBEB "Enables the cubeb audio backend" ON)
option ( USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF )
option ( USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF )
if ( NOT ENABLE_WEB_SERVICE )
set ( YUZU_ENABLE_BOXCAT OFF )
endif ( )
# D e f a u l t t o a R e l e a s e b u i l d
# D e f a u l t t o a R e l e a s e b u i l d
get_property ( IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG )
get_property ( IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG )
if ( NOT IS_MULTI_CONFIG AND NOT CMAKE_BUILD_TYPE )
if ( NOT IS_MULTI_CONFIG AND NOT CMAKE_BUILD_TYPE )
@ -239,7 +243,7 @@ if(ENABLE_QT)
if ( YUZU_USE_QT_WEB_ENGINE )
if ( YUZU_USE_QT_WEB_ENGINE )
find_package ( Qt5 COMPONENTS WebEngineCore WebEngineWidgets )
find_package ( Qt5 COMPONENTS WebEngineCore WebEngineWidgets )
endif ( )
endif ( )
if ( ENABLE_QT_TRANSLATION )
if ( ENABLE_QT_TRANSLATION )
find_package ( Qt5 REQUIRED COMPONENTS LinguistTools ${ QT_PREFIX_HINT } )
find_package ( Qt5 REQUIRED COMPONENTS LinguistTools ${ QT_PREFIX_HINT } )
endif ( )
endif ( )
@ -322,7 +326,7 @@ if (CONAN_REQUIRED_LIBS)
list ( APPEND Boost_LIBRARIES Boost::context )
list ( APPEND Boost_LIBRARIES Boost::context )
endif ( )
endif ( )
endif ( )
endif ( )
# D u e t o i s s u e s w i t h v a r i a b l e s c o p e s i n f u n c t i o n s , w e n e e d t o a l s o find_package ( qt5 ) o u t s i d e o f t h e f u n c t i o n
# D u e t o i s s u e s w i t h v a r i a b l e s c o p e s i n f u n c t i o n s , w e n e e d t o a l s o find_package ( qt5 ) o u t s i d e o f t h e f u n c t i o n
if ( ENABLE_QT )
if ( ENABLE_QT )
list ( APPEND CMAKE_MODULE_PATH "${CONAN_QT_ROOT_RELEASE}" )
list ( APPEND CMAKE_MODULE_PATH "${CONAN_QT_ROOT_RELEASE}" )