mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 03:12:12 +08:00
commit
958b1faf81
@ -193,10 +193,9 @@ endif()
|
|||||||
find_package(toml11 QUIET)
|
find_package(toml11 QUIET)
|
||||||
if(toml11_FOUND)
|
if(toml11_FOUND)
|
||||||
add_library(toml11_target INTERFACE)
|
add_library(toml11_target INTERFACE)
|
||||||
add_dependencies(toml11_target INTERFACE toml11::toml11)
|
target_link_libraries(toml11_target INTERFACE toml11::toml11)
|
||||||
else()
|
else()
|
||||||
include(ExternalProject)
|
include(ExternalProject)
|
||||||
|
|
||||||
ExternalProject_add(toml11Project
|
ExternalProject_add(toml11Project
|
||||||
URL "https://github.com/ToruNiina/toml11/archive/v3.4.0.tar.gz"
|
URL "https://github.com/ToruNiina/toml11/archive/v3.4.0.tar.gz"
|
||||||
URL_HASH SHA256=bc6d733efd9216af8c119d8ac64a805578c79cc82b813e4d1d880ca128bd154d
|
URL_HASH SHA256=bc6d733efd9216af8c119d8ac64a805578c79cc82b813e4d1d880ca128bd154d
|
||||||
|
@ -35,6 +35,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <intrin.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "crc32/crc32c.h"
|
#include "crc32/crc32c.h"
|
||||||
|
|
||||||
#if !defined(__aarch64__) && !defined(__powerpc64__)
|
#if !defined(__aarch64__) && !defined(__powerpc64__)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
set(FDBSERVICE_SRCS FDBService.cpp ServiceBase.cpp)
|
set(FDBSERVICE_SRCS FDBService.cpp ServiceBase.cpp)
|
||||||
|
|
||||||
add_executable(fdbmonitor ${FDBSERVICE_SRCS})
|
add_executable(fdbmonitor ${FDBSERVICE_SRCS})
|
||||||
|
|
||||||
target_include_directories(fdbmonitor PRIVATE ${CMAKE_BINARY_DIR}/flow/include ${CMAKE_BINARY_DIR}/fdbclient/include)
|
get_target_property(fdbclient_target_includes fdbclient INCLUDE_DIRECTORIES)
|
||||||
add_dependencies(fdbmonitor fdbclient)
|
target_link_libraries(fdbmonitor PUBLIC SimpleOpt)
|
||||||
|
target_include_directories(fdbmonitor PUBLIC "${fdbclient_target_includes}")
|
Loading…
x
Reference in New Issue
Block a user