1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

fixed problem with VideoInput on Windows when OpenCV compiled statically (ticket #573)

This commit is contained in:
Alexander Shishkov
2011-05-30 13:32:57 +00:00
parent dce5bf4921
commit 33e71127f7
5 changed files with 30 additions and 1 deletions
+3
View File
@@ -47,6 +47,9 @@ if (BUILD_EXAMPLES)
endif()
if(WIN32)
if (MSVC AND NOT BUILD_SHARED_LIBS)
set_target_properties(${the_target} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib /DEBUG")
endif()
install(TARGETS ${the_target}
RUNTIME DESTINATION "samples/gpu" COMPONENT main)
endif()