如何在cmake里引用动态库的dll文件2015年12月15日 · 阅读需 1 分钟在vs里引用第三方动态库的时候需要用到dll文件,我们如何在cmake的脚本里定义自动拷贝. http://stackoverflow.com/questions/10671916/how-to-copy-dll-files-into-the-same-folder-as-the-executable-using-cmake 下面是一个例子: