commit 045ab16ca044b01ab8f3ab36c4f0eb2818d0e0c5 parent 173f87e00a0695e1361803e044399832960c6d55 Author: cfillion <cfillion@users.noreply.github.com> Date: Wed, 21 Oct 2020 17:24:42 -0400 fix building with current vcpkg's sqlite3 port Diffstat:
M | src/CMakeLists.txt | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt @@ -16,9 +16,9 @@ endif() if(VCPKG_TOOLCHAIN) # required for selecting the right debug or release version - find_package(SQLite3 CONFIG REQUIRED) + find_package(unofficial-sqlite3 CONFIG REQUIRED) add_library(SQLite::SQLite3 INTERFACE IMPORTED) - target_link_libraries(SQLite::SQLite3 INTERFACE sqlite3) + target_link_libraries(SQLite::SQLite3 INTERFACE unofficial::sqlite3::sqlite3) find_package(tinyxml2 CONFIG REQUIRED) else()