Skip to content

Commit

Permalink
build: Print status about SQLite3 module
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed May 26, 2024
1 parent 5d3b93e commit 0f2271d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,12 @@ set(CURSES_NEED_WIDE true)
find_package(Curses)

if(WITH_SQLITE3)
find_package(SQLite3)
find_package(SQLite3 QUIET)
if(SQLite3_FOUND)
message(STATUS "Found SQLite3 version ${SQLite3_VERSION}")
include_directories(SQLite3_INCLUDE_DIRS)
else()
message(STATUS "Fetching SQLite3 source from internet")
FetchContent_Declare(
SQLite3
URL https://www.sqlite.org/2024/sqlite-amalgamation-3460000.zip
Expand Down

0 comments on commit 0f2271d

Please sign in to comment.