-- Checking for module 'xkbcommon'
-- Found xkbcommon, version 0.8.2
-- Configuring done
WARNING: Target "pango_python" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it. CMake does not define behavior for this case.
-- Generating done
-- Build files have been written to: /home/yiersansiwu/Documents/Pangolin/build
我使用网上的方法
#the error is due to the high c++ standard and you can add
set_property(TARGET ${COMPONENT} PROPERTY CXX_STANDARD 11)
#in the ~/Pangolin/compnents/pango_image/CMakeList.txt under the
get_filename_component(COMPONENT ${CMAKE_CURRENT_LIST_DIR} NAME)
还是没用
请参考下面调试CMakeLists.txt的方法:
message("value of VARNAME: ${VARNAME}")
message(FATAL_ERROR "Error" ) #显示Error并退出编译链接生成过程