opencv/modules/ts/CMakeLists.txt

10 lines
250 B
CMake
Raw Normal View History

2011-02-09 23:03:01 +01:00
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)
2011-02-09 23:03:01 +01:00
endif()
define_opencv_module(ts opencv_core)