libsqlite3 with CMake support.
Usage with FetchContent
include(FetchContent)
FetchContent_Declare(sqlite3 GIT_REPOSITORY https://github.com/sjinks/sqlite3-cmake GIT_TAG v3.45.1)
FetchContent_MakeAvailable(sqlite3)
target_link_libraries(mytarget sqlite3::sqlite3)
Usage with CPM.cmake
file(DOWNLOAD https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.40.2/CPM.cmake ${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)
include(${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)
CPMAddPackage("gh:sjinks/[email protected]")