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