Skip to content

Commit

Permalink
[liblas] Fix Geotiff linkage (#7975)
Browse files Browse the repository at this point in the history
* [liblas] Fix Geotiff linkage
  • Loading branch information
Neumann-A authored and Rastaban committed Aug 30, 2019
1 parent 7dfb48e commit 93c76a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/liblas/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: liblas
Version: 1.8.1
Version: 1.8.1-2
Build-Depends: boost, boost-thread, boost-system, boost-iostreams, boost-filesystem, libgeotiff
Description: A C/C++ library for reading and writing the very common LAS LiDAR format.

Expand Down
2 changes: 2 additions & 0 deletions ports/liblas/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ vcpkg_extract_source_archive_ex(
PATCHES fix-BuildError.patch
)

file(REMOVE ${SOURCE_PATH}/cmake/modules/FindGeoTIFF.cmake) # remove outdated module. There are probably more

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS

-DBUILD_OSGEO4W=OFF # Disable osgeo4w
-DWITH_TESTS=OFF
-DWITH_UTILITIES=OFF
Expand Down

0 comments on commit 93c76a3

Please sign in to comment.