Browse Source
Merge pull request #1036 from 1715173329/cap
build(CMakeLists): dynamic link to libcap by default
pull/1052/head
Hamish Coleman
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
CMakeLists.txt
|
@ -238,8 +238,7 @@ if(N2N_OPTION_USE_ZSTD) |
|
|
endif(N2N_OPTION_USE_ZSTD) |
|
|
endif(N2N_OPTION_USE_ZSTD) |
|
|
|
|
|
|
|
|
if(N2N_OPTION_USE_CAPLIB) |
|
|
if(N2N_OPTION_USE_CAPLIB) |
|
|
# TODO: this is a static library, shouldnt we have a generic one? |
|
|
target_link_libraries(edge cap) |
|
|
target_link_libraries(edge cap.a) |
|
|
|
|
|
endif(N2N_OPTION_USE_CAPLIB) |
|
|
endif(N2N_OPTION_USE_CAPLIB) |
|
|
|
|
|
|
|
|
if(N2N_OPTION_USE_PORTMAPPING) |
|
|
if(N2N_OPTION_USE_PORTMAPPING) |
|
|