aboutsummaryrefslogtreecommitdiff
path: root/ports/proj4/fix-sqlite-dependency-export.patch
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-10-18 08:15:52 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2019-10-17 17:15:52 -0700
commit75dd38cd8a8143d9a77e81da25085ab1b7621cd6 (patch)
tree678352df29212b686028d6b52fd4c9513140761c /ports/proj4/fix-sqlite-dependency-export.patch
parent11ef794475f3de755508a78e139c663c55e69ff7 (diff)
downloadvcpkg-75dd38cd8a8143d9a77e81da25085ab1b7621cd6.tar.gz
vcpkg-75dd38cd8a8143d9a77e81da25085ab1b7621cd6.zip
[proj4] Upgrade version to 6.1.1 and remove patches. (#7917)
* [proj4]Upgrade version to 6.1.1 and remove useless patches. * [libgeotiff]Fix build errors using proj4 6.1.1. * [libspatialite]Fix build errors using proj4 6.1.1. * [gdal]Fix build errors using proj4 6.1.1. * [spatialite-tools]Fix build errors using proj4 6.1.1. * [spatialite-tools]Fix build errors using proj4 6.1.1. * [libgeotiff]Re-fix build errors using proj4 6.1.1. * [vtk]Fix build errors using proj4 6.1.1. * [proj4]Fix find sqlite binary failure. * [proj4]Disable build tools when building proj4 in arm/uwp. * [sqlite3/libgeotiff]Fix libdl library linkage. Re-fix use proj issue. * add back dl libs * [gdal]Fix dependent port proj library name. * [proj4]Set Windows library name to "proj" and revert fix-proj-name changes. * [liblas]Fix build errors using proj4 6.1.1. * [liblas]Fix build errors using proj4 6.1.1. * [liblas]Fix build errors using proj4 6.1.1. * [proj4]Fix feature database on triplet arm/uwp. * [gdal]Remove useless flag PROJ_STATIC. * [proj4]Fix build error on x64-windows-static. * [liblas]Use find_library to get proj4/sqlite3 libraries. * [proj4]Fix sqlite dependency. * [proj4]Fix arm/uwp dependency. * [proj4]Fix linux build: configure error. * [proj4]Disable export proj4 namespace. * [liblas]Delete proj dependency. * [libspatialite]Fix linux build. * [libspatialite]Fix linux command. * [libspatialite]Fix configure error. * [proj4]fix static cmake tools path. * [libgeotiff]Set configure options to 1/0 to avoid the "if" comparison failure in config.cmake. [proj4]Revert changes about namespace. [liblas]Remove FindPROJ4.cmake and FindGeoTIFF.cmake from the source. * [vtk]Fix using latest proj4 issue. * [proj4]Delete missing patch.
Diffstat (limited to 'ports/proj4/fix-sqlite-dependency-export.patch')
-rw-r--r--ports/proj4/fix-sqlite-dependency-export.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/proj4/fix-sqlite-dependency-export.patch b/ports/proj4/fix-sqlite-dependency-export.patch
new file mode 100644
index 000000000..a7f051699
--- /dev/null
+++ b/ports/proj4/fix-sqlite-dependency-export.patch
@@ -0,0 +1,13 @@
+diff --git a/src/lib_proj.cmake b/src/lib_proj.cmake
+index 5a0a807..f7bfffd 100644
+--- a/src/lib_proj.cmake
++++ b/src/lib_proj.cmake
+@@ -439,7 +439,7 @@ if(USE_THREAD AND Threads_FOUND AND CMAKE_USE_PTHREADS_INIT)
+ endif()
+
+ include_directories(${SQLITE3_INCLUDE_DIR})
+-target_link_libraries(${PROJ_CORE_TARGET} ${SQLITE3_LIBRARY})
++target_link_libraries(${PROJ_CORE_TARGET} PUBLIC ${SQLITE3_LIBRARY})
+
+ if(MSVC)
+ target_compile_definitions(${PROJ_CORE_TARGET}