Skip to content

Commit 0af23ed

Browse files
authored
Merge pull request #109 from compnerd/databases
build: make `SQLite` a private dependency
2 parents ed31a0c + deee7c6 commit 0af23ed

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Sources/TSCUtility/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ add_library(TSCUtility
4141
)
4242
target_link_libraries(TSCUtility PUBLIC
4343
TSCBasic)
44+
target_link_libraries(TSCUtility PRIVATE
45+
SQLite::SQLite3)
4446
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
4547
target_link_libraries(TSCUtility PUBLIC
4648
FoundationNetworking)

Sources/TSCclibc/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ add_library(TSCclibc STATIC
1111
target_include_directories(TSCclibc PUBLIC
1212
include)
1313

14-
target_link_libraries(TSCclibc PUBLIC
15-
SQLite::SQLite3)
16-
1714
if(NOT BUILD_SHARED_LIBS)
1815
install(TARGETS TSCclibc
1916
ARCHIVE DESTINATION lib)

0 commit comments

Comments
 (0)