mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
CMake fixes
Thanks to @RipleyTom Co-Authored-By: RipleyTom <RipleyTom@users.noreply.github.com>
This commit is contained in:
parent
6d8575d0d0
commit
6bceebbb1a
4 changed files with 7 additions and 11 deletions
12
3rdparty/zstd/CMakeLists.txt
vendored
12
3rdparty/zstd/CMakeLists.txt
vendored
|
@ -1,9 +1,7 @@
|
|||
|
||||
project(3rdparty_zstd)
|
||||
|
||||
add_library(3rdparty_zstd INTERFACE)
|
||||
option(ZSTD_BUILD_PROGRAMS "BUILD PROGRAMS" OFF)
|
||||
option(ZSTD_BUILD_SHARED "BUILD SHARED LIBRARIES" OFF)
|
||||
option(ZSTD_BUILD_STATIC "BUILD STATIC LIBRARIES" ON)
|
||||
|
||||
add_subdirectory(zstd/build/cmake EXLUDE_FROM_ALL)
|
||||
|
||||
target_include_directories(3rdparty_zstd INTERFACE zstd zstd/lib)
|
||||
|
||||
add_library(3rdparty_zstd INTERFACE)
|
||||
target_link_libraries(3rdparty_zstd INTERFACE libzstd_static)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue