Fix build on Mac.

This commit is contained in:
Victor Zverovich 2013-11-15 14:02:14 -08:00
parent 4c3044771a
commit f782c2b1a8

View File

@ -33,6 +33,7 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt)
gtest_force_shared_crt gtest_force_shared_crt
"Use shared (DLL) run-time lib even when Google Test is built as static lib." "Use shared (DLL) run-time lib even when Google Test is built as static lib."
ON) ON)
add_definitions(-DGTEST_USE_OWN_TR1_TUPLE=1)
add_subdirectory(gtest) add_subdirectory(gtest)
include_directories(gtest/include) include_directories(gtest/include)
link_directories(${CMAKE_CURRENT_BINARY_DIR}/gtest) link_directories(${CMAKE_CURRENT_BINARY_DIR}/gtest)