mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 16:25:45 +00:00
fix quazip
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
8b779b64f8
commit
1e51e82d59
1 changed files with 10 additions and 6 deletions
16
externals/CMakeLists.txt
vendored
16
externals/CMakeLists.txt
vendored
|
@ -336,23 +336,27 @@ if (ARCHITECTURE_arm64 AND NOT TARGET sse2neon)
|
||||||
target_include_directories(sse2neon INTERFACE sse2neon)
|
target_include_directories(sse2neon INTERFACE sse2neon)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(CPM)
|
|
||||||
set(CPM_SOURCE_CACHE ${CMAKE_SOURCE_DIR}/.cache/cpm)
|
|
||||||
set(CPM_USE_LOCAL_PACKAGES ON)
|
|
||||||
|
|
||||||
# QuaZip
|
# QuaZip
|
||||||
if (ENABLE_QT)
|
if (ENABLE_QT)
|
||||||
set(QUAZIP_QT_MAJOR_VERSION 6)
|
set(QUAZIP_QT_MAJOR_VERSION 6)
|
||||||
set(QUAZIP_BZIP2 OFF)
|
set(QUAZIP_BZIP2 OFF)
|
||||||
|
|
||||||
|
include(CPM)
|
||||||
|
set(CPM_SOURCE_CACHE ${CMAKE_SOURCE_DIR}/.cache/cpm)
|
||||||
|
set(CPM_USE_LOCAL_PACKAGES ON)
|
||||||
|
|
||||||
CPMAddPackage(
|
CPMAddPackage(
|
||||||
URI "gh:stachenov/quazip@1.5"
|
NAME QuaZip-Qt6
|
||||||
|
VERSION 1.3
|
||||||
|
GIT_REPOSITORY "https://github.com/stachenov/quazip.git"
|
||||||
|
GIT_TAG v1.5
|
||||||
PATCHES
|
PATCHES
|
||||||
${CMAKE_SOURCE_DIR}/.ci/patch/0001-quazip-strict.patch
|
${CMAKE_SOURCE_DIR}/.ci/patch/0001-quazip-strict.patch
|
||||||
${CMAKE_SOURCE_DIR}/.ci/patch/0002-quazip-fetchcontent.patch
|
${CMAKE_SOURCE_DIR}/.ci/patch/0002-quazip-fetchcontent.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
if (NOT MSVC)
|
if (NOT MSVC AND NOT "QuaZip-Qt6" IN_LIST CPM_PACKAGES)
|
||||||
|
message(STATUS "QUAZIP DIR: ${CPM_PACKAGES}")
|
||||||
target_compile_options(QuaZip PRIVATE
|
target_compile_options(QuaZip PRIVATE
|
||||||
-Wno-error=shadow
|
-Wno-error=shadow
|
||||||
-Wno-error=missing-declarations
|
-Wno-error=missing-declarations
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue