embedded-framework/external/CMakeLists.txt
2024-06-05 09:28:13 +08:00

22 lines
739 B
CMake

add_subdirectory(sqlite3/sqlite-3430000)
add_subdirectory(goahead-5.2.0)
# ================= httpserver ================= #
find_program(M4 m4)
if(NOT M4)
message("m4 not found. Install before continuing.")
execute_process(COMMAND sudo apt-get install m4
WORKING_DIRECTORY ${EXTERNAL_SOURCE_PATH}/gtest/)
endif()
find_program(RAGEL ragel)
if(NOT RAGEL)
message(FATAL_ERROR "ragel not found. Install before continuing.")
execute_process(COMMAND sudo apt-get install ragel
WORKING_DIRECTORY ${EXTERNAL_SOURCE_PATH}/gtest/)
endif()
add_subdirectory(httpserver.h-master/src)
# ================= httpserver end ================= #
add_subdirectory(cJSON-1.7.17)
add_subdirectory(libhv/libhv-1.3.2)