updated build system
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...

This commit is contained in:
2024-08-04 10:30:49 -05:00
parent 15cc7b0b87
commit 9ce4c5a494
13 changed files with 53 additions and 70 deletions

View File

@@ -1,16 +1,12 @@
if(PROJECT_ENABLE_SPDLOG)
if(PROJECT_BUILD)
find_package(spdlog ${SPDLOG_VERSION} REQUIRED)
add_definitions(-DPROJECT_ENABLE_SPDLOG)
include_directories(BEFORE SYSTEM
${SPDLOG_INCLUDE_DIRS}
)
find_package(spdlog ${SPDLOG_VERSION} REQUIRED)
link_libraries(
spdlog::spdlog
)
include_directories(BEFORE SYSTEM ${SPDLOG_INCLUDE_DIRS})
link_libraries(spdlog::spdlog)
elseif(NOT PROJECT_IS_MINGW OR CMAKE_HOST_WIN32)
ExternalProject_Add(spdlog_project
PREFIX external