Skip to content

Commit 553361b

Browse files
committed
CMake: print the version of the system library if linking with it
1 parent 26d5e47 commit 553361b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ else (SQLITECPP_INTERNAL_SQLITE)
325325
endif()
326326
else()
327327
find_package (SQLite3 REQUIRED)
328-
message(STATUS "Link to sqlite3 system library")
328+
message(STATUS "Link to sqlite3 system library ${SQLite3_VERSION}")
329329
target_link_libraries(SQLiteCpp PUBLIC SQLite::SQLite3)
330330
if(SQLite3_VERSION VERSION_LESS "3.19")
331331
set_target_properties(SQLiteCpp PROPERTIES COMPILE_FLAGS "-DSQLITECPP_HAS_MEM_STRUCT")

0 commit comments

Comments
 (0)