mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-12-16 03:58:42 +00: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
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…
Reference in New Issue
Block a user