特牛网址导航

C++和C 混合编译链接时报错CMake Error: Cannot determine link language for target-CSDN博客

网友收藏
文章浏览阅读8.1k次,点赞3次,收藏4次。CMake Error: Cannot determine link language for target解决办法:project(demo LANGUAGES C CXX) #CMake Error: Cannot determine link language for target 如果这里不添加C 的话会报这个错误或者project(demo)_cmake error: cannot determine link language for target "pd_infer_cu