diff options
| -rw-r--r-- | externals/CMakeLists.txt | 5 | ||||
| m--------- | externals/lz4 | 0 | ||||
| -rw-r--r-- | src/core/CMakeLists.txt | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 8e4bcf21f..b809d76d8 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -28,6 +28,11 @@ add_subdirectory(glad) | |||
| 28 | # inih | 28 | # inih |
| 29 | add_subdirectory(inih) | 29 | add_subdirectory(inih) |
| 30 | 30 | ||
| 31 | # lz4 | ||
| 32 | set(LZ4_BUNDLED_MODE ON) | ||
| 33 | add_subdirectory(lz4/contrib/cmake_unofficial) | ||
| 34 | target_include_directories(lz4_static INTERFACE ./lz4/lib) | ||
| 35 | |||
| 31 | # MicroProfile | 36 | # MicroProfile |
| 32 | add_library(microprofile INTERFACE) | 37 | add_library(microprofile INTERFACE) |
| 33 | target_include_directories(microprofile INTERFACE ./microprofile) | 38 | target_include_directories(microprofile INTERFACE ./microprofile) |
diff --git a/externals/lz4 b/externals/lz4 new file mode 160000 | |||
| Subproject c10863b98e1503af90616ae99725ecd120265df | |||
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 360f407f3..44d7f670b 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -389,7 +389,7 @@ set(HEADERS | |||
| 389 | create_directory_groups(${SRCS} ${HEADERS}) | 389 | create_directory_groups(${SRCS} ${HEADERS}) |
| 390 | add_library(core STATIC ${SRCS} ${HEADERS}) | 390 | add_library(core STATIC ${SRCS} ${HEADERS}) |
| 391 | target_link_libraries(core PUBLIC common PRIVATE audio_core video_core) | 391 | target_link_libraries(core PUBLIC common PRIVATE audio_core video_core) |
| 392 | target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt) | 392 | target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt lz4_static) |
| 393 | if (ENABLE_WEB_SERVICE) | 393 | if (ENABLE_WEB_SERVICE) |
| 394 | target_link_libraries(core PUBLIC json-headers web_service) | 394 | target_link_libraries(core PUBLIC json-headers web_service) |
| 395 | endif() | 395 | endif() |