mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
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})
|
||||
|
||||
set(the_target "opencv_${name}")
|
||||
|
||||
if (${name} MATCHES "ts" AND MINGW)
|
||||
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
|
||||
if(NOT ANDROID)
|
||||
|
Loading…
Reference in New Issue
Block a user