mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-28 06:33:42 +00:00
14 lines
322 B
CMake
14 lines
322 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
# We only want the static library, nothing else.
|
|
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
|
set(LZ4_BUILD_CLI OFF)
|
|
set(LZ4_BUILD_LEGACY_LZ4C OFF)
|
|
set(LZ4_BUNDLED_MODE ON)
|
|
|
|
add_subdirectory(lz4/build/cmake)
|
|
|
|
dolphin_disable_warnings_msvc(lz4_static)
|
|
add_library(LZ4::LZ4 ALIAS lz4_static)
|
|
|