Merge branch 'master' of https://github.com/GPUCode/citra into vulkan-2
This commit is contained in:
@ -380,6 +380,11 @@ endif()
|
|||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory(externals)
|
add_subdirectory(externals)
|
||||||
|
|
||||||
|
# See externals/CMakeLists.txt
|
||||||
|
foreach(def ${CRYPTOPP_COMPILE_DEFINITIONS})
|
||||||
|
add_definitions(-D${def})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
# Boost
|
# Boost
|
||||||
if (USE_SYSTEM_BOOST)
|
if (USE_SYSTEM_BOOST)
|
||||||
find_package(Boost 1.70.0 COMPONENTS serialization REQUIRED)
|
find_package(Boost 1.70.0 COMPONENTS serialization REQUIRED)
|
||||||
|
6
externals/CMakeLists.txt
vendored
6
externals/CMakeLists.txt
vendored
@ -35,6 +35,12 @@ set(CRYPTOPP_INSTALL OFF)
|
|||||||
set(CRYPTOPP_SOURCES "${CMAKE_SOURCE_DIR}/externals/cryptopp")
|
set(CRYPTOPP_SOURCES "${CMAKE_SOURCE_DIR}/externals/cryptopp")
|
||||||
add_subdirectory(cryptopp-cmake)
|
add_subdirectory(cryptopp-cmake)
|
||||||
|
|
||||||
|
# HACK: Mismatch between compilation of CryptoPP and headers used in Citra can cause runtime issues.
|
||||||
|
# Pull out the compile definitions from CryptoPP and apply them to Citra as well to fix this.
|
||||||
|
# See: https://github.com/weidai11/cryptopp/issues/1191
|
||||||
|
get_source_file_property(CRYPTOPP_COMPILE_DEFINITIONS ${CRYPTOPP_SOURCES}/cryptlib.cpp TARGET_DIRECTORY cryptopp COMPILE_DEFINITIONS)
|
||||||
|
set(CRYPTOPP_COMPILE_DEFINITIONS ${CRYPTOPP_COMPILE_DEFINITIONS} PARENT_SCOPE)
|
||||||
|
|
||||||
# HACK: The logic to set up the base include directory for CryptoPP does not work with Android SDK CMake 3.22.1.
|
# HACK: The logic to set up the base include directory for CryptoPP does not work with Android SDK CMake 3.22.1.
|
||||||
# Until there is a fixed version available, this code will detect and add in the proper include if it does not exist.
|
# Until there is a fixed version available, this code will detect and add in the proper include if it does not exist.
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
|
@ -827,6 +827,7 @@ void Config::SaveValues() {
|
|||||||
SaveLayoutValues();
|
SaveLayoutValues();
|
||||||
SaveAudioValues();
|
SaveAudioValues();
|
||||||
SaveSystemValues();
|
SaveSystemValues();
|
||||||
|
qt_config->sync();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Config::SaveAudioValues() {
|
void Config::SaveAudioValues() {
|
||||||
|
Reference in New Issue
Block a user