mirror of https://github.com/PCSX2/pcsx2.git
25 lines
745 B
CMake
25 lines
745 B
CMake
|
set(BUILD_SHARED_LIBS OFF CACHE BOOL "")
|
||
|
set(LIBZIP_DO_INSTALL OFF CACHE BOOL "")
|
||
|
|
||
|
set(ENABLE_COMMONCRYPTO OFF CACHE BOOL "")
|
||
|
set(ENABLE_GNUTLS OFF CACHE BOOL "")
|
||
|
set(ENABLE_MBEDTLS OFF CACHE BOOL "")
|
||
|
set(ENABLE_WINDOWS_CRYPTO OFF CACHE BOOL "")
|
||
|
set(ENABLE_BZIP2 OFF CACHE BOOL "")
|
||
|
set(ENABLE_LZMA OFF CACHE BOOL "")
|
||
|
set(ENABLE_ZSTD OFF CACHE BOOL "")
|
||
|
|
||
|
set(BUILD_TOOLS OFF CACHE BOOL "")
|
||
|
set(BUILD_REGRESS OFF CACHE BOOL "")
|
||
|
set(BUILD_EXAMPLES OFF CACHE BOOL "")
|
||
|
set(BUILD_DOC OFF CACHE BOOL "")
|
||
|
|
||
|
if(WIN32)
|
||
|
# Needed otherwise find_package() will look in the system.
|
||
|
set(ZLIB_FOUND TRUE)
|
||
|
set(ZLIB_LIBRARY "$<TARGET_FILE:pcsx2-zlib>")
|
||
|
set(ZLIB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/zlib")
|
||
|
endif()
|
||
|
|
||
|
add_subdirectory(libzip EXCLUDE_FROM_ALL)
|