We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1439ae5 + 18f839c commit 5375cf5Copy full SHA for 5375cf5
1 file changed
anitorrent-native/CMakeLists.txt
@@ -53,7 +53,7 @@ else ()
53
# 尝试引入 GNU/Linux 发行版下的编译
54
if (UNIX AND NOT APPLE AND NOT WIN32)
55
# 添加 Linux 平台下的额外配置
56
- add_compile_options(-Wall -Wextra -std=c++17 -g -O2 -pthread -fPIC -fno-exceptions -frtti)
+ add_compile_options(-Wall -Wextra -std=c++17 -O2 -pthread -fPIC -fno-exceptions -frtti)
57
set(BUILD_SHARED_LIBS OFF) # 编译 libtorrent 为静态库
58
set(OPENSSL_USE_STATIC_LIBS TRUE) # 静态链接 OpenSSL
59
find_package(OpenSSL REQUIRED)
0 commit comments