mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-07 03:06:05 -04:00
CMake: print the version of the system library if linking with it
This commit is contained in:
parent
26d5e47fe6
commit
553361b5c0
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user