错误log
libs/libubox-2020-05-25-66195aee'
-- checking for one of the modules 'lua5.1;lua-5.1'
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
json
linked by target "json_script-example" in directory /libs/libubox-2020-05-25-66195aee/src/examples
-- Configuring incomplete, errors occurred!
修改方案
修改libubox-2020-05-25-66195aee/CMakeLists.txt文件
将
OPTION(BUILD_EXAMPLES "build examples" ON)
修改为
OPTION(BUILD_EXAMPLES "build examples" OFF)