Minor fixes with windows build and opencv dlls

This commit is contained in:
jfmcarreira committed 2016-05-14 03:08:22 +01:00
1 parent 8db32e32c5
commit c2f2af7584
3 files changed
+8 -21

No files matched your search

+2
View File
@@ -25,6 +25,8 @@ MACRO(ADD_MODULE_USE_OPENCV name file )
FIND_PACKAGE( OpenCV QUIET COMPONENTS ${opencv_module} )
IF( NOT ${OPENCV_${opencv_moduleUP}_FOUND} EQUAL "1" )
SET( _HAS_MODULES FALSE )
ELSE()
LIST(APPEND OPENCV_MODULES ${opencv_module} )
ENDIF()
ENDFOREACH()
IF( _HAS_MODULES )