cmake引入不同版本的库

cmake引入不同版本的库

1
2
3
4
5
6
7
8
9
10
11
12
13
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 )