[sqlitecpp] Find sqlite3 includes from vcpkg

This commit is contained in:
Victor Romero 2019-04-02 17:30:53 -07:00
parent 9596fe7dd7
commit a0721f1bea
3 changed files with 3 additions and 2 deletions

View File

@ -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")

View File

@ -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.

View File

@ -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()