mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix build on Mac.
This commit is contained in:
parent
4c3044771a
commit
f782c2b1a8
@ -33,6 +33,7 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt)
|
||||
gtest_force_shared_crt
|
||||
"Use shared (DLL) run-time lib even when Google Test is built as static lib."
|
||||
ON)
|
||||
add_definitions(-DGTEST_USE_OWN_TR1_TUPLE=1)
|
||||
add_subdirectory(gtest)
|
||||
include_directories(gtest/include)
|
||||
link_directories(${CMAKE_CURRENT_BINARY_DIR}/gtest)
|
||||
|
Loading…
Reference in New Issue
Block a user