forked from dolphin-emu/dolphin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02b4ca8
commit 8f82639
Showing
5 changed files
with
9 additions
and
23 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# Disable CLI building, which breaks for Android due to lack of 64-bit support | ||
SET(LZ4_BUILD_CLI OFF CACHE BOOL "Build lz4 program") | ||
SET(LZ4_BUILD_LEGACY_LZ4C OFF CACHE BOOL "Build lz4c program with legacy argument support") | ||
# We only want the static library, nothing else. | ||
set(LZ4_BUILD_CLI OFF) | ||
set(LZ4_BUILD_LEGACY_LZ4C OFF) | ||
set(LZ4_BUNDLED_MODE ON) | ||
|
||
add_subdirectory(lz4/build/cmake) | ||
|
||
target_include_directories(lz4_static PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") | ||
dolphin_disable_warnings_msvc(lz4_static) | ||
add_library(LZ4::LZ4 ALIAS lz4_static) | ||
|
||
add_library(LZ4::LZ4 ALIAS lz4_static) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters