23 Star 76 Fork 28

liudengfeng/apfree-wifidog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 765 Bytes
一键复制 编辑 原始数据 按行查看 历史
staylightblow8 提交于 2023-02-21 16:30 . update: update cmake min version
cmake_minimum_required(VERSION 2.8.12)
project(ApFreeWiFidog C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
option(AW_DEBUG "Build debug" ON)
option(AW_WEBSSH "Build with web ssh support" OFF)
option(AW_FW3 "Build with fw3 support" OFF)
find_package(LibEvent)
if(NOT LibEvent_FOUND)
message(FATAL_ERROR "libevent2 not found!")
endif(NOT LibEvent_FOUND)
find_package(OpenSSL)
if(NOT OPENSSL_FOUND)
message(FATAL_ERROR "OpenSSL not found!")
endif(NOT OPENSSL_FOUND)
find_package(JSON-C REQUIRED)
include_directories(${JSON-C_INCLUDE_DIR})
find_package(UCI REQUIRED)
include_directories(${UCI_INCLUDE_DIR})
if(LIB_INSTALL_DIR)
else()
set(LIB_INSTALL_DIR lib)
endif()
add_subdirectory(src)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/apfree/apfree-wifidog.git
git@gitee.com:apfree/apfree-wifidog.git
apfree
apfree-wifidog
apfree-wifidog
master

搜索帮助