其他分享
首页 > 其他分享> > oes not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the

oes not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the

作者:互联网

[  1%] Performing configure step for 'extern_baidu_sdk'
[  8%] Built target extern_gflags
[ 15%] Built target extern_protobuf
CMake Error: The source directory "/home/wangheng/main_work/translate_proxy/build/third-party/baidu_sdk/src/extern_baidu_sdk" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[2]: *** [third-party/baidu_sdk/src/extern_baidu_sdk-stamp/extern_baidu_sdk-configure] Error 1

解决办法:

        CONFIGURE_COMMAND ""
        BUILD_COMMAND ""

添加空的 CONFIGURE_COMMAND 和BUILD_COMMAND

标签:baidu,appear,CMakeLists,help,COMMAND,extern,sdk
来源: https://blog.csdn.net/qq_38871173/article/details/120948009