Add shared lib for nvcodec

This commit is contained in:
dijunkun
2023-09-22 17:28:51 +08:00
parent 0e1da712f5
commit 36305eef46
8 changed files with 6 additions and 2 deletions

View File

@@ -32,8 +32,8 @@ if is_os("windows") then
add_links("windowsapp", "User32", "Strmiids", "Mfuuid", "Secur32", "Bcrypt")
add_requires("cuda")
elseif is_os("linux") then
add_links("pthread")
set_config("cxxflags", "-fPIC")
set_config("cflags", "-fPIC")
add_syslinks("pthread")
end
add_packages("spdlog")