aboutsummaryrefslogtreecommitdiff
path: root/ports/libgpod
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-08-06 01:36:25 +0800
committerGitHub <noreply@github.com>2020-08-05 10:36:25 -0700
commitf3221c0405b6f99c6eff113cb4ca8c81c3ad3a84 (patch)
treea3f72ea4c7d994cf097077be5daa3b8be07c3b59 /ports/libgpod
parent6a83b5365e8fc48c41564d319f915cbff603c99e (diff)
downloadvcpkg-f3221c0405b6f99c6eff113cb4ca8c81c3ad3a84.tar.gz
vcpkg-f3221c0405b6f99c6eff113cb4ca8c81c3ad3a84.zip
[sqlite3] Namespaced targets with unofficial:: (#12516)
* [sqlite3] Namespaced targets with unofficial:: * Fix failure ports * Update the targets name * Update related docs
Diffstat (limited to 'ports/libgpod')
-rw-r--r--ports/libgpod/CMakeLists.txt4
-rw-r--r--ports/libgpod/CONTROL1
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/libgpod/CMakeLists.txt b/ports/libgpod/CMakeLists.txt
index 233efc722..ea1294906 100644
--- a/ports/libgpod/CMakeLists.txt
+++ b/ports/libgpod/CMakeLists.txt
@@ -4,7 +4,7 @@ project (libgpod C)
option(WITH_INTERNAL_GCHECKSUM OFF)
-find_package(sqlite3 CONFIG REQUIRED)
+find_package(unofficial-sqlite3 CONFIG REQUIRED)
include(SelectLibraryConfigurations)
find_path(glib_PATH glib.h PATHS include)
@@ -66,7 +66,7 @@ if (WITH_INTERNAL_GCHECKSUM)
endif()
target_compile_definitions(libgpod PRIVATE -DLIBGPOD_BLOB_DIR=\"${LIBGPOD_BLOB_DIR}\" -DGETTEXT_PACKAGE="libgpod")
-target_link_libraries(libgpod PRIVATE ${glib_LIBRARY} ${plist_LIBRARY} sqlite3)
+target_link_libraries(libgpod PRIVATE ${glib_LIBRARY} ${plist_LIBRARY} unofficial::sqlite3::sqlite3)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/itdb.h DESTINATION include/libgpod/gpod)
diff --git a/ports/libgpod/CONTROL b/ports/libgpod/CONTROL
index 01134d303..2d6fe295c 100644
--- a/ports/libgpod/CONTROL
+++ b/ports/libgpod/CONTROL
@@ -1,5 +1,6 @@
Source: libgpod
Version: 2019-08-29
+Port-Version: 1
Homepage: https://github.com/fadingred/libgpod
Description: libgpod is a library meant to abstract access to an iPod content.
Build-Depends: glib, libplist, sqlite3 \ No newline at end of file