mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
cmake: Don't install zstd_seekable and use header from externals (#1305)
* Use zstd_seekable header from externals Specifying the full path relies on the system installed header. Signed-off-by: Marcin Serwin <marcin@serwin.dev> * Don't install zstd_seekable Signed-off-by: Marcin Serwin <marcin@serwin.dev> --------- Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
parent
aac54d648c
commit
254ab96b63
2 changed files with 3 additions and 8 deletions
9
externals/CMakeLists.txt
vendored
9
externals/CMakeLists.txt
vendored
|
|
@ -243,13 +243,8 @@ else()
|
|||
)
|
||||
target_link_libraries(zstd_seekable PUBLIC libzstd_static)
|
||||
|
||||
target_link_libraries(libzstd_static INTERFACE zstd_seekable)
|
||||
|
||||
add_library(zstd ALIAS libzstd_static)
|
||||
|
||||
install(TARGETS zstd_seekable
|
||||
EXPORT zstdExports
|
||||
)
|
||||
add_library(zstd INTERFACE)
|
||||
target_link_libraries(zstd INTERFACE libzstd_static zstd_seekable)
|
||||
endif()
|
||||
|
||||
# ENet
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <mutex>
|
||||
#include <sstream>
|
||||
#include <zstd.h>
|
||||
#include <zstd/contrib/seekable_format/zstd_seekable.h>
|
||||
#include <zstd_seekable.h>
|
||||
|
||||
#include <boost/serialization/base_object.hpp>
|
||||
#include <boost/serialization/unique_ptr.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue