mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 03:27:50 +08:00
c3fc360947
* [glm] update to 0.9.9.8 * [sqlitecpp] Update to version 3.0.0
17 lines
680 B
Diff
17 lines
680 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 9363c0d..0f47f0f 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -227,9 +227,9 @@ if (SQLITECPP_INTERNAL_SQLITE)
|
|
add_subdirectory(sqlite3)
|
|
target_link_libraries(SQLiteCpp PUBLIC sqlite3)
|
|
else (SQLITECPP_INTERNAL_SQLITE)
|
|
- find_package (SQLite3 REQUIRED)
|
|
+ find_package(sqlite3 CONFIG)
|
|
message(STATUS "Link to sqlite3 system library")
|
|
- target_link_libraries(SQLiteCpp PUBLIC SQLite::SQLite3)
|
|
+ target_link_libraries(SQLiteCpp PRIVATE sqlite3)
|
|
if(SQLite3_VERSION VERSION_LESS "3.19")
|
|
set_target_properties(SQLiteCpp PROPERTIES COMPILE_FLAGS "-DSQLITECPP_HAS_MEM_STRUCT")
|
|
endif()
|