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语法还不是太了解;