qt中需要用cmake编译工程,且需要用到OpenGL库glfw,如何给Cmakelist.txt配置glfw的动态链接库?
在Cmakelists.txt添:
find_package(glfw3 REQUIRED)
并在target_link_libraries中添加glfw