mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-04 17:26:42 +00:00
Set gtest_force_shared_crt, take 2.
This commit is contained in:
parent
a2a8741348
commit
771746bd7e
@ -21,7 +21,10 @@ endif ()
|
||||
# pre-compiled copy of Google Test (for example, into /usr/local)?"
|
||||
# at http://code.google.com/p/googletest/wiki/FAQ for more details.
|
||||
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt)
|
||||
set(gtest_force_shared_crt ON)
|
||||
option(
|
||||
gtest_force_shared_crt
|
||||
"Use shared (DLL) run-time lib even when Google Test is built as static lib."
|
||||
ON)
|
||||
add_subdirectory(gtest)
|
||||
include_directories(gtest/include)
|
||||
link_directories(${CMAKE_CURRENT_BINARY_DIR}/gtest)
|
||||
|
Loading…
Reference in New Issue
Block a user