cmake problem

来源:互联网 发布:结构力学分析软件 编辑:程序博客网 时间:2024/05/17 09:01

Cannot specify link libraries for target "xxx" which is not built by this project.

 

--

to solve this problem, just put "target_link_libraries" AFTER "add_executable" ...

 

thanks for Yiwang's help to solve this.