upd: benchmark cmake

This commit is contained in:
mutouyun 2022-11-28 22:27:07 +08:00
parent 03d352c238
commit 7ba65c6f18
2 changed files with 6 additions and 6 deletions

View File

@ -19,6 +19,12 @@ set(BENCHMARK_ENABLE_INSTALL OFF)
add_definitions(-DBENCHMARK_STATIC_DEFINE)
FetchContent_MakeAvailable(googlebenchmark)
FetchContent_Declare(fmtlib
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 9.1.0
)
FetchContent_MakeAvailable(fmtlib)
include_directories(
${LIBIPC_PROJECT_DIR}/include
${LIBIPC_PROJECT_DIR}/src

View File

@ -5,12 +5,6 @@ if(NOT MSVC)
-Wno-attributes)
endif()
FetchContent_Declare(fmtlib
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 9.1.0
)
FetchContent_MakeAvailable(fmtlib)
aux_source_directory(${LIBIPC_PROJECT_DIR}/src/libimp SRC_FILES)
file(GLOB HEAD_FILES