10 lines
250 B
CMake
10 lines
250 B
CMake
if(BUILD_SHARED_LIBS)
|
|
add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=1)
|
|
if (MSVC)
|
|
add_definitions( "/wd4251 /wd4275")
|
|
endif()
|
|
else()
|
|
add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=0)
|
|
endif()
|
|
define_opencv_module(ts opencv_core)
|