@ -73,10 +73,10 @@ option(ENABLE_UPDATE_CHECKER "Enable update checker (for Qt and Android)" OFF)
cmake_dependent_option ( YUZU_USE_QT_MULTIMEDIA "Use QtMultimedia for Camera" OFF "NOT YUZU_USE_BUNDLED_QT" OFF )
cmake_dependent_option ( YUZU_USE_QT_WEB_ENGINE "Use QtWebEngine for web applet implementation" OFF "NOT YUZU_USE_BUNDLED_QT" OFF )
set ( YUZU_QT_MIRROR "" CACHE STRING "What mirror to use for downloading the bundled Qt libraries" )
cmake_dependent_option ( YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" "${MSVC}" "ENABLE_QT" OFF )
cmake_dependent_option ( YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" "${MSVC}" "ENABLE_QT AND NOT (CMAKE_BUILD_TYPE MATCHES " Debug|RelWithDebInfo ") " OFF )
# n o n - l i n u x b u n d l e d q t a r e s t a t i c
if ( YUZU_USE_BUNDLED_QT AND ( APPLE OR NOT UNIX ) )
if ( YUZU_USE_BUNDLED_QT AND ( APPLE OR NOT UNIX ) AND NOT ( CMAKE_BUILD_TYPE MATCHES "Debug|RelWithDebInfo" ) )
set ( YUZU_STATIC_BUILD ON )
endif ( )
@ -570,6 +570,7 @@ if (ENABLE_QT)
else ( )
message ( STATUS "Using system Qt" )
if ( NOT Qt6_DIR )
# Y o u c a n u s e t h i s a s r e f e r e n c e : < h t t p s : / / d d a l c i n o . g i t h u b . i o / a q t - l i s t - s e r v e r / >
set ( Qt6_DIR "" CACHE PATH "Additional path to search for Qt6 libraries like C:/Qt/6.8.3/msvc2022_64/lib/cmake/Qt6" )
endif ( )
list ( APPEND CMAKE_PREFIX_PATH "${Qt6_DIR}" )
@ -672,6 +673,9 @@ if (MSVC AND CMAKE_GENERATOR STREQUAL "Ninja")
/ w d 4 7 1 1 # f u n c t i o n ' f u n c t i o n ' s e l e c t e d f o r a u t o m a t i c i n l i n e e x p a n s i o n
/ w d 4 8 2 0 # ' b y t e s ' b y t e s p a d d i n g a d d e d a f t e r c o n s t r u c t ' m e m b e r _ n a m e '
)
# F o r C M a k e 3 . 2 5 + a p p l y P r o g r a m D a t a b a s e a s d e f a u l t d e b u g i n f o r m a t i o n f o r m a t
set ( CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>" )
cmake_policy ( SET CMP0141 NEW )
endif ( )
# A d j u s t m e n t s f o r c l a n g - c l