0
点赞
收藏
分享

微信扫一扫

Ubuntu21.04编译OpenPGP

吴陆奇 2022-06-14 阅读 244

先安装第三方依赖库
Ubuntu21.04编译OpenPGP_依赖库

mkdir build
cd build
cmake ..
make
make install

修改CMakeLists.txt
注释以下内容:

If (0)
set(BUILD_TESTS ON CACHE BOOL "Build tests")
if (BUILD_TESTS)
# create the test target
enable_testing()

# add tests
add_subdirectory(tests)
endif()


set(BUILD_CLI ON CACHE BOOL "Build CLI example")
if (BUILD_CLI)
# add cli
add_subdirectory(cli)
endif()
endif()


举报

相关推荐

0 条评论