fixed problem with VideoInput on Windows when OpenCV compiled statically (ticket #573)
added ignore linker flags for opencv2_python
This commit is contained in:
parent
33e71127f7
commit
128d030533
@ -90,6 +90,10 @@ set_target_properties(${cv2_target} PROPERTIES PREFIX "")
|
||||
set_target_properties(${cv2_target} PROPERTIES OUTPUT_NAME "cv2")
|
||||
set_target_properties(${cv2_target} PROPERTIES SUFFIX ${CVPY_SUFFIX})
|
||||
|
||||
if (MSVC AND NOT BUILD_SHARED_LIBS)
|
||||
set_target_properties(${cv2_target} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib /DEBUG")
|
||||
endif()
|
||||
|
||||
set(cvpymodules ${cvpymodules} ${cv2_target})
|
||||
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user