CMake: include called with wrong number of arguments. include() only takes one file.
来源:互联网 发布:初中毕业能学php吗 编辑:程序博客网 时间:2024/05/21 18:09
CMake Error at CMakeLists.txt:34 (include): include called with wrong number of arguments. include() only takes one file.
今天在cmake配置工程时出现了一下错误:
cmakelists代码如下
是include这句话出现了错误;
上网找到了一下解决方案:http://cmake.cmake.narkive.com/4Nq9EoJt/include-called-with-wrong-number-of-arguments-error-please-help
修改include为include_directories就可以了;
暂时还不知道include和include_directories的区别,cmake语法还不是太了解;
阅读全文
0 0
- CMake: include called with wrong number of arguments. include() only takes one file.
- wrong number of arguments
- wrong number of arguments (1 for 2)
- java.lang.IllegalArgumentException: wrong number of arguments
- java.lang.IllegalArgumentException: wrong number of arguments
- CMake include_directories cannot open include file :'XXX'
- Java 反射机制 反射数组 wrong number of arguments 异常
- java反射调用String[] wrong number of arguments异常解决
- 解析Java反射java.lang.IllegalArgumentException: wrong number of arguments
- newInstance传入String 数组 提示Wrong number of arguments
- django运行错误:wrong number of arguments for 'set' command
- 反射异常:java.lang.IllegalArgumentException: wrong number of arguments
- java反射 java.lang.IllegalArgumentException: wrong number of arguments
- Java反射异常:java.lang.IllegalArgumentException: wrong number of arguments
- ERR wrong number of arguments for 'sadd' command
- Calls with a Variable Number of Arguments
- Macros with a Variable Number of Arguments.
- how to test the real character number if the string include chinese character,notice one chinese character only calculater one b
- 初识Spring的注解
- 阿里云安全合作伙伴计划 新一轮招募开始
- HDU 1027
- mysql语法基础
- POI创建DOCX常用操作
- CMake: include called with wrong number of arguments. include() only takes one file.
- 目标检测3 Fast R-CNN
- android中的序列化和反序列化
- TLS/SSL 协议详解 (5) 运用密码学原理构建安全信道3
- C# 如何在PDF文档中添加打印按钮
- 异常
- HDU 1003
- JS函数声明和预解析的理解
- 编译Android 7.0 内核报错