update sirit-ci, fix zstd, update CPMUtil
Some checks failed
eden-license / license-header (pull_request) Failing after 27s
Some checks failed
eden-license / license-header (pull_request) Failing after 27s
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
ee3f270fa4
commit
a415b41064
11 changed files with 36 additions and 289 deletions
|
@ -13,9 +13,12 @@ find_package_handle_standard_args(zstd
|
|||
if (zstd_FOUND AND NOT TARGET zstd::zstd)
|
||||
if (TARGET zstd::libzstd_shared)
|
||||
add_library(zstd::zstd ALIAS zstd::libzstd_shared)
|
||||
add_library(zstd::libzstd ALIAS zstd::libzstd_shared)
|
||||
elseif (TARGET zstd::libzstd_static)
|
||||
add_library(zstd::zstd ALIAS zstd::libzstd_static)
|
||||
add_library(zstd::libzstd ALIAS zstd::libzstd_static)
|
||||
else()
|
||||
add_library(zstd::zstd ALIAS PkgConfig::ZSTD)
|
||||
add_library(zstd::libzstd ALIAS PkgConfig::ZSTD)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue