cmake 出现 undefined reference时的处理

CMakeLists.txt中添加:spa find_package(Threads)get target_link_libraries(main ${CMAKE_THREAD_LIBS_INIT})List
相关文章
相关标签/搜索