clean up unnecessary 3rdparty library files

This commit is contained in:
mutouyun 2023-07-29 13:26:06 +08:00
parent bad1ff4696
commit f5908cfe69
5 changed files with 7 additions and 7 deletions

1
3rdparty/fmtlib-src vendored

@ -1 +0,0 @@
Subproject commit a33701196adfad74917046096bf5a2aa0ab0bb50

@ -1 +0,0 @@
Subproject commit 361e8d1cfe0c6c36d30b39f1b61302ece5507320

@ -1 +0,0 @@
Subproject commit 15460959cbbfa20e66ef0b5ab497367e47fc0a04

View File

@ -14,8 +14,8 @@ FetchContent_Declare(googlebenchmark
GIT_REPOSITORY https://github.com/google/benchmark.git
GIT_TAG v1.7.0
)
set(BENCHMARK_ENABLE_TESTING OFF)
set(BENCHMARK_ENABLE_INSTALL OFF)
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "" FORCE)
set(BENCHMARK_ENABLE_INSTALL OFF CACHE BOOL "" FORCE)
add_definitions(-DBENCHMARK_STATIC_DEFINE)
FetchContent_MakeAvailable(googlebenchmark)

View File

@ -6,6 +6,9 @@ if(NOT MSVC)
-Wno-missing-field-initializers
-Wno-unused-variable
-Wno-unused-function)
else()
add_compile_options(
/wd4723)
endif()
FetchContent_Declare(googletest
@ -14,9 +17,9 @@ FetchContent_Declare(googletest
)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
if (LIBIPC_USE_STATIC_CRT)
set(gtest_force_shared_crt OFF)
set(gtest_force_shared_crt OFF CACHE BOOL "" FORCE)
else()
set(gtest_force_shared_crt ON)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
endif()
FetchContent_MakeAvailable(googletest)