2011-02-09 22:03:01 +00:00
|
|
|
if(BUILD_SHARED_LIBS)
|
2011-09-06 15:30:28 +00: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 22:03:01 +00:00
|
|
|
endif()
|
|
|
|
define_opencv_module(ts opencv_core)
|