mirror of
https://github.com/ntop/n2n.git
synced 2026-10-19 16:16:12 +00:00
fix 'cannot find library -lzstd' when build as a subproject with cmake and vcpkg
This commit is contained in:
+1
-1
@@ -234,7 +234,7 @@ if(N2N_OPTION_USE_OPENSSL)
|
||||
endif(N2N_OPTION_USE_OPENSSL)
|
||||
|
||||
if(N2N_OPTION_USE_ZSTD)
|
||||
target_link_libraries(n2n zstd)
|
||||
target_link_libraries(n2n ${LIBZSTD})
|
||||
endif(N2N_OPTION_USE_ZSTD)
|
||||
|
||||
if(N2N_OPTION_USE_CAPLIB)
|
||||
|
||||
Reference in New Issue
Block a user