mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[sqlitecpp] Find sqlite3 includes from vcpkg
This commit is contained in:
parent
9596fe7dd7
commit
a0721f1bea
@ -16,7 +16,7 @@ index 4a3e492..f7e22a5 100644
|
||||
|
||||
# TODO NOCOMMIT
|
||||
-#find_package(sqlite3)
|
||||
+find_package(sqlite3 REQUIRED)
|
||||
+find_package(sqlite3 CONFIG)
|
||||
+target_link_libraries(SQLiteCpp PRIVATE sqlite3)
|
||||
#if(sqlite3_VERSION VERSION_LESS "3.19")
|
||||
# set_target_properties(SQLiteCpp PROPERTIES COMPILE_FLAGS "-DSQLITECPP_HAS_MEM_STRUCT")
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: sqlitecpp
|
||||
Version: 2.2
|
||||
Version: 2.2-1
|
||||
Build-Depends: sqlite3
|
||||
Description: SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
|
||||
|
@ -23,6 +23,7 @@ vcpkg_configure_cmake(
|
||||
-DSQLITECPP_RUN_CPPCHECK=OFF
|
||||
-DSQLITECPP_INTERNAL_SQLITE=OFF
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=OFF
|
||||
-DSQLITECPP_INTERNAL_SQLITE=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
Loading…
x
Reference in New Issue
Block a user