Skip to content

Commit

Permalink
Merge pull request #119 from ndsev/use-spdlog-without-conan
Browse files Browse the repository at this point in the history
Guard spdlog find_package to enable external users to not use conan
  • Loading branch information
fklebert committed Apr 23, 2024
2 parents c0c985c + 7ed1187 commit 72a9c97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/httpcl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ project(httpcl)

set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

find_package(spdlog CONFIG REQUIRED)
if(NOT TARGET spdlog)
find_package(spdlog CONFIG REQUIRED)
endif()

add_library(httpcl STATIC
include/httpcl/http-client.hpp
Expand Down

0 comments on commit 72a9c97

Please sign in to comment.