CMake Error in CMakeLists.txt:
Imported target "xxxxxxx" includes non-existent path
"some/path/"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
原因:我遇到的是第二种,在docker里编译的,第一次指令敲错了没成功,再执行就报这个错。
解决:退出docker,重新登录再编译。