mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
upd: benchmark cmake
This commit is contained in:
parent
03d352c238
commit
7ba65c6f18
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user