aboutsummaryrefslogtreecommitdiff
path: root/ports/liblas
diff options
context:
space:
mode:
Diffstat (limited to 'ports/liblas')
-rw-r--r--ports/liblas/fix-BuildError.patch14
-rw-r--r--ports/liblas/portfile.cmake3
2 files changed, 2 insertions, 15 deletions
diff --git a/ports/liblas/fix-BuildError.patch b/ports/liblas/fix-BuildError.patch
index 277e81ef7..4f9d768dc 100644
--- a/ports/liblas/fix-BuildError.patch
+++ b/ports/liblas/fix-BuildError.patch
@@ -31,17 +31,3 @@ index c7f583d..ca9e602 100644
# Now create the liblas-config files using the .in templates
configure_file (liblas-config.cmake.in
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index e35de06..f7c25d2 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -226,7 +226,8 @@ target_link_libraries(${LIBLAS_LIB_NAME}
- ${GEOTIFF_LIBRARY}
- ${GDAL_LIBRARY}
- ${LASZIP_LIBRARY}
-- ${Boost_LIBRARIES})
-+ ${Boost_LIBRARIES}
-+ proj)
-
- target_link_libraries(${LIBLAS_C_LIB_NAME}
- ${LIBLAS_LIB_NAME} )
diff --git a/ports/liblas/portfile.cmake b/ports/liblas/portfile.cmake
index e8697f589..32fdd7c7e 100644
--- a/ports/liblas/portfile.cmake
+++ b/ports/liblas/portfile.cmake
@@ -15,7 +15,8 @@ vcpkg_extract_source_archive_ex(
PATCHES fix-BuildError.patch
)
-file(REMOVE ${SOURCE_PATH}/cmake/modules/FindGeoTIFF.cmake) # remove outdated module. There are probably more
+file(REMOVE ${SOURCE_PATH}/cmake/modules/FindPROJ4.cmake)
+file(REMOVE ${SOURCE_PATH}/cmake/modules/FindGeoTIFF.cmake)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}