Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 839 Bytes

File metadata and controls

24 lines (16 loc) · 839 Bytes

sqlite3-cmake

Build

libsqlite3 with CMake support.

Usage with FetchContent

include(FetchContent)
FetchContent_Declare(sqlite3 GIT_REPOSITORY https://github.com/sjinks/sqlite3-cmake GIT_TAG v3.49.1)
FetchContent_MakeAvailable(sqlite3)

target_link_libraries(mytarget SQLite::SQLite3)

Usage with CPM.cmake

file(DOWNLOAD https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.42.1/CPM.cmake ${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)
include(${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)

CPMAddPackage("gh:sjinks/sqlite3-cmake@3.49.1")