From 553361b5c0542537f71644fd1efdf0d331e7c906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Sat, 17 Aug 2024 23:31:14 +0200 Subject: [PATCH] CMake: print the version of the system library if linking with it --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 89cd6432..238eb8f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -325,7 +325,7 @@ else (SQLITECPP_INTERNAL_SQLITE) endif() else() find_package (SQLite3 REQUIRED) - message(STATUS "Link to sqlite3 system library") + message(STATUS "Link to sqlite3 system library ${SQLite3_VERSION}") target_link_libraries(SQLiteCpp PUBLIC SQLite::SQLite3) if(SQLite3_VERSION VERSION_LESS "3.19") set_target_properties(SQLiteCpp PROPERTIES COMPILE_FLAGS "-DSQLITECPP_HAS_MEM_STRUCT")