2011-02-09 23:03:01 +01:00
|
|
|
if(BUILD_SHARED_LIBS)
|
2011-09-06 17:30:28 +02:00
|
|
|
add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=1)
|
|
|
|
if (MSVC)
|
|
|
|
add_definitions( "/wd4251 /wd4275")
|
|
|
|
endif()
|
|
|
|
else()
|
|
|
|
add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=0)
|
2011-02-09 23:03:01 +01:00
|
|
|
endif()
|
|
|
|
define_opencv_module(ts opencv_core)
|