Skip to content

Commit d145e46

Browse files
committed
SQLite3 is actually a dependency of cpp-sqlite
1 parent 48d81ed commit d145e46

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

3rdparty/cpp-sqlite/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
find_package(SQLite3 REQUIRED)
2+
13
add_library(cpp-sqlite INTERFACE)
24

35
add_library(cpp-sqlite::cpp-sqlite ALIAS cpp-sqlite)
@@ -6,3 +8,8 @@ target_include_directories(cpp-sqlite
68
INTERFACE
79
${CMAKE_CURRENT_SOURCE_DIR}
810
)
11+
12+
target_link_libraries(cpp-sqlite
13+
INTERFACE
14+
SQLite::SQLite3
15+
)

0 commit comments

Comments
 (0)