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

Esse commit está contido em:
Vadim Pisarevsky
2011-04-26 12:09:27 +00:00
commit 0cfcb48796
3 arquivos alterados com 3 adições e 2 exclusões
+1 -1
Ver Arquivo
@@ -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()
+1
Ver Arquivo
@@ -45,6 +45,7 @@ set_target_properties(${the_target} PROPERTIES
DEFINE_SYMBOL "CVAPI_EXPORTS"
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/"
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/"
LINK_FLAGS "/NODEFAULTLIB:libc /DEBUG"
)
install(TARGETS ${the_target}
+1 -1
Ver Arquivo
@@ -263,7 +263,7 @@ set_target_properties(${the_target} PROPERTIES
)
if(MSVC)
set_target_properties(${the_target} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib")
set_target_properties(${the_target} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib /DEBUG")
endif(MSVC)
# Dependencies of this target: