fixed compilation on Mingw64
This commit is contained in:
parent
1580806730
commit
b9f5a2f4ee
@ -28,8 +28,11 @@ macro(define_opencv_module name)
|
|||||||
source_group("Include" FILES ${lib_hdrs})
|
source_group("Include" FILES ${lib_hdrs})
|
||||||
|
|
||||||
set(the_target "opencv_${name}")
|
set(the_target "opencv_${name}")
|
||||||
|
if (${name} MATCHES "ts" AND MINGW)
|
||||||
add_library(${the_target} ${lib_srcs} ${lib_hdrs} ${lib_int_hdrs})
|
add_library(${the_target} STATIC ${lib_srcs} ${lib_hdrs} ${lib_int_hdrs})
|
||||||
|
else()
|
||||||
|
add_library(${the_target} ${lib_srcs} ${lib_hdrs} ${lib_int_hdrs})
|
||||||
|
endif()
|
||||||
|
|
||||||
# For dynamic link numbering convenions
|
# For dynamic link numbering convenions
|
||||||
if(NOT ANDROID)
|
if(NOT ANDROID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user