mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Updating opencv module definition in cmake
This commit is contained in:
@@ -6,4 +6,9 @@ if(BUILD_SHARED_LIBS)
|
||||
else()
|
||||
add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=0)
|
||||
endif()
|
||||
define_opencv_module(ts opencv_core)
|
||||
|
||||
if(MINGW)
|
||||
define_opencv_moduleEx(ts PUBLIC STATIC opencv_core)
|
||||
else()
|
||||
define_opencv_module(ts opencv_core)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user