Skip to content

Commit e5774a6

Browse files
committed
Get angohr working with conan 2
Due to how it exposes packages it helped uncover my missing dependency of spdlog.
1 parent 76e2768 commit e5774a6

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

‎angohr/CMakeLists.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# SPDX-License-Identifier: BSD-3-Clause
33

44
find_package(fmt CONFIG REQUIRED)
5+
find_package(spdlog CONFIG REQUIRED)
56
find_package(DuckDB CONFIG REQUIRED)
67
# This is just for DuckDB...their config file doesn't find Threads.
78
find_package(Threads REQUIRED)
@@ -14,7 +15,7 @@ target_sources(core
1415
core.cpp
1516
database.cpp
1617
ello.cpp)
17-
target_link_libraries(core PRIVATE fmt::fmt duckdb)
18+
target_link_libraries(core PRIVATE fmt::fmt spdlog::spdlog duckdb)
1819
add_library(angohr::core ALIAS core)
1920

2021
add_executable(angohr angohr.cpp)

‎conanfile.txt‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[requires]
2+
fmt/10.2.1
3+
gtest/1.14.0
4+
spdlog/1.13.0
5+
6+
[generators]
7+
CMakeDeps
8+
CMakeToolchain
9+

0 commit comments

Comments
 (0)