bugfix for highgui crash on Windows in debug mode (ticket #752) has been propagated from branch 2.2 to trunk

This commit is contained in:
Vadim Pisarevsky
2011-04-26 12:09:27 +00:00
parent 6f82c0d662
commit 0cfcb48796
3 changed files with 3 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ macro(define_opencv_module name)
)
endif()
set_target_properties(${the_target} PROPERTIES
LINK_FLAGS "/NODEFAULTLIB:libc"
LINK_FLAGS "/NODEFAULTLIB:libc /DEBUG"
)
endif()