mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06: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)
|
add_definitions(-DBENCHMARK_STATIC_DEFINE)
|
||||||
FetchContent_MakeAvailable(googlebenchmark)
|
FetchContent_MakeAvailable(googlebenchmark)
|
||||||
|
|
||||||
|
FetchContent_Declare(fmtlib
|
||||||
|
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
|
||||||
|
GIT_TAG 9.1.0
|
||||||
|
)
|
||||||
|
FetchContent_MakeAvailable(fmtlib)
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${LIBIPC_PROJECT_DIR}/include
|
${LIBIPC_PROJECT_DIR}/include
|
||||||
${LIBIPC_PROJECT_DIR}/src
|
${LIBIPC_PROJECT_DIR}/src
|
||||||
|
|||||||
@ -5,12 +5,6 @@ if(NOT MSVC)
|
|||||||
-Wno-attributes)
|
-Wno-attributes)
|
||||||
endif()
|
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)
|
aux_source_directory(${LIBIPC_PROJECT_DIR}/src/libimp SRC_FILES)
|
||||||
|
|
||||||
file(GLOB HEAD_FILES
|
file(GLOB HEAD_FILES
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user