diff options
| author | Hiroshi Miura <miurahr@linux.com> | 2018-02-28 05:13:57 +0900 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-02-27 12:13:57 -0800 |
| commit | fd08d14bdbd54a0715dfa1404be5383b01f68187 (patch) | |
| tree | d794147c66e2b3dd81a75668b6eaa565e5cc50b8 /ports/libgeotiff/0006-Fix-utility-link-error.patch | |
| parent | 781cc3261132a8e326347e0792e47206bdadca60 (diff) | |
| download | vcpkg-fd08d14bdbd54a0715dfa1404be5383b01f68187.tar.gz vcpkg-fd08d14bdbd54a0715dfa1404be5383b01f68187.zip | |
[libgeotiff] fix util link error (#2896)
* [libgeotiff] fix util link error
* [libgeotiff] Bump package version
Diffstat (limited to 'ports/libgeotiff/0006-Fix-utility-link-error.patch')
| -rw-r--r-- | ports/libgeotiff/0006-Fix-utility-link-error.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ports/libgeotiff/0006-Fix-utility-link-error.patch b/ports/libgeotiff/0006-Fix-utility-link-error.patch new file mode 100644 index 000000000..ef0963b26 --- /dev/null +++ b/ports/libgeotiff/0006-Fix-utility-link-error.patch @@ -0,0 +1,42 @@ +From 2625b4a85b6cacf9b6ede3cf30af16eb795044e9 Mon Sep 17 00:00:00 2001 +From: Hiroshi Miura <miurahr@linux.com> +Date: Sat, 24 Feb 2018 08:36:31 +0900 +Subject: [PATCH 6/6] Fix utility link error + +Signed-off-by: Hiroshi Miura <miurahr@linux.com> +--- + bin/CMakeLists.txt | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt +index 583ae36..6c6cc21 100644 +--- a/bin/CMakeLists.txt ++++ b/bin/CMakeLists.txt +@@ -6,10 +6,6 @@ + # + ############################################################################### + +-INCLUDE_DIRECTORIES( +- . +- ${CMAKE_SOURCE_DIR}) +- + IF(WIN32 AND MSVC) + SET(GETOPT_SOURCE getopt.c) + ENDIF() +@@ -22,12 +18,11 @@ MESSAGE(STATUS "Adding GeoTIFF utilities to build") + + FOREACH(utility ${GEOTIFF_UTILITIES}) + ADD_EXECUTABLE(${utility} ${utility}.c ${GETOPT_SOURCE}) +- TARGET_LINK_LIBRARIES(${utility} xtiff ${GEOTIFF_LIBRARY_TARGET}) ++ TARGET_LINK_LIBRARIES(${utility} ${GEOTIFF_LIBRARY_TARGET}) + ENDFOREACH() + + ADD_EXECUTABLE(geotifcp geotifcp.c ${GETOPT_SOURCE}) + TARGET_LINK_LIBRARIES(geotifcp +- xtiff + ${GEOTIFF_LIBRARY_TARGET} + ${JPEG_LIBRARIES} + ${ZLIB_LIBRARIES}) +-- +2.16.1 + |
