mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-16 18:39:57 +00:00
externals: Add lz4.
This commit is contained in:
parent
46297c9653
commit
9eb4888df7
3 changed files with 7 additions and 1 deletions
5
externals/CMakeLists.txt
vendored
5
externals/CMakeLists.txt
vendored
|
@ -28,6 +28,11 @@ add_subdirectory(glad)
|
|||
# inih
|
||||
add_subdirectory(inih)
|
||||
|
||||
# lz4
|
||||
set(LZ4_BUNDLED_MODE ON)
|
||||
add_subdirectory(lz4/contrib/cmake_unofficial)
|
||||
target_include_directories(lz4_static INTERFACE ./lz4/lib)
|
||||
|
||||
# MicroProfile
|
||||
add_library(microprofile INTERFACE)
|
||||
target_include_directories(microprofile INTERFACE ./microprofile)
|
||||
|
|
1
externals/lz4
vendored
Submodule
1
externals/lz4
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c10863b98e1503af90616ae99725ecd120265dfb
|
|
@ -389,7 +389,7 @@ set(HEADERS
|
|||
create_directory_groups(${SRCS} ${HEADERS})
|
||||
add_library(core STATIC ${SRCS} ${HEADERS})
|
||||
target_link_libraries(core PUBLIC common PRIVATE audio_core video_core)
|
||||
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt)
|
||||
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt lz4_static)
|
||||
if (ENABLE_WEB_SERVICE)
|
||||
target_link_libraries(core PUBLIC json-headers web_service)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue