cmake引入不同版本的库

  • Post author:
  • Post category:build
  • Post comments:0评论
target_link_libraries(${PROJECT_NAME} PRIVATE
                        debug opencv_core440d.lib 
                        debug opencv_highgui440d.lib
                        debug opencv_imgproc440d.lib 
                        debug opencv_imgcodecs440d.lib 
                        debug opencv_video440d.lib
                        debug opencv_videoio440d.lib 
                        optimized opencv_core440.lib 
                        optimized opencv_highgui440.lib 
                        optimized opencv_imgproc440.lib
                        optimized opencv_imgcodecs440.lib 
                        optimized opencv_video440.lib 
                        optimized opencv_videoio440.lib  )
文章作者: 张拓
文章链接: http://www.xssl.online/cmake%e5%bc%95%e5%85%a5%e4%b8%8d%e5%90%8c%e7%89%88%e6%9c%ac%e7%9a%84%e5%ba%93/
版权声明: 本博客所有文章除特别声明外,均采用CC BY-NC-SA 4.0 许可协议。转载请注明来自 张拓的博客
浏览次数: 494

张拓

陕西西安蓝田张拓QQ1070410059。一生所求不过“心安”二字。 然,尘世多纷扰。

发表回复