mirror of https://github.com/dnomd343/md5sum.git
Dnomd343
7 months ago
5 changed files with 76 additions and 39 deletions
@ -1,9 +1,14 @@ |
|||||
if (MD5_ENABLE_TESTING) |
if (MD5_ENABLE_TESTING) |
||||
|
if (MSVC) |
||||
|
set(gtest_force_shared_crt ON) |
||||
|
endif() |
||||
add_subdirectory(third_party/googletest/ EXCLUDE_FROM_ALL) |
add_subdirectory(third_party/googletest/ EXCLUDE_FROM_ALL) |
||||
endif() |
endif() |
||||
|
|
||||
if (MD5_ENABLE_BENCHMARK) |
if (MD5_ENABLE_BENCHMARK) |
||||
set(BENCHMARK_ENABLE_TESTING OFF) |
if (NOT MSVC) |
||||
set(BENCHMARK_ENABLE_EXCEPTIONS OFF) |
set(BENCHMARK_ENABLE_EXCEPTIONS OFF) |
||||
|
endif() |
||||
|
set(BENCHMARK_ENABLE_TESTING OFF) |
||||
add_subdirectory(third_party/benchmark/ EXCLUDE_FROM_ALL) |
add_subdirectory(third_party/benchmark/ EXCLUDE_FROM_ALL) |
||||
endif() |
endif() |
||||
|
Loading…
Reference in new issue