代码拉取完成,页面将自动刷新
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)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。