diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-04-17 14:46:50 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-04-17 14:46:50 -0700 |
| commit | 2a80b89ea7db68a4991d02e7535aab032dd7c155 (patch) | |
| tree | 365b5dbe97a29879b8c1a118c50a901314ca0ca7 | |
| parent | c3062a7b8d06ea20c2105e8b277ccc76af99a2d2 (diff) | |
| download | vcpkg-2a80b89ea7db68a4991d02e7535aab032dd7c155.tar.gz vcpkg-2a80b89ea7db68a4991d02e7535aab032dd7c155.zip | |
[vxl] Use system dependencies where possible -- note that openjpeg2 is still not used.
| -rw-r--r-- | ports/vxl/CONTROL | 3 | ||||
| -rw-r--r-- | ports/vxl/portfile.cmake | 20 |
2 files changed, 19 insertions, 4 deletions
diff --git a/ports/vxl/CONTROL b/ports/vxl/CONTROL index 33cd87cb8..52d725f45 100644 --- a/ports/vxl/CONTROL +++ b/ports/vxl/CONTROL @@ -1,3 +1,4 @@ Source: vxl -Version: 20180414-7a130cf +Version: 20180414-7a130cf-1 +Build-Depends: zlib, tiff, expat, libpng, bzip2, libjpeg-turbo, shapelib, libgeotiff Description: A multi-platform collection of C++ software libraries for Computer Vision and Image Understanding. diff --git a/ports/vxl/portfile.cmake b/ports/vxl/portfile.cmake index c2ea3d929..7e27591e5 100644 --- a/ports/vxl/portfile.cmake +++ b/ports/vxl/portfile.cmake @@ -2,19 +2,33 @@ include(vcpkg_common_functions) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH - REPO vxl/vxl - REF 7a130cf05e907a6500e3e717297082c46e77f524 - SHA512 b9f7e48e37b44469031c6de1bf2a3d0aa0ecf4d3c2f4dd0d1a84c273ca8a778b48f3caf7ec6ef0f2dea1dc534ebfdb6b2cde47a56d81aa4f0685114c0bda157c + REPO vxl/vxl + REF 7a130cf05e907a6500e3e717297082c46e77f524 + SHA512 b9f7e48e37b44469031c6de1bf2a3d0aa0ecf4d3c2f4dd0d1a84c273ca8a778b48f3caf7ec6ef0f2dea1dc534ebfdb6b2cde47a56d81aa4f0685114c0bda157c HEAD_REF master ) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA + OPTIONS + -DVXL_USING_NATIVE_ZLIB=ON + -DVXL_USING_NATIVE_BZLIB2=ON + -DVXL_USING_NATIVE_JPEG=ON + -DVXL_USING_NATIVE_TIFF=ON + -DVXL_USING_NATIVE_EXPAT=ON + -DVXL_USING_NATIVE_PNG=ON + -DVXL_USING_NATIVE_SHAPELIB=ON + -DVXL_USING_NATIVE_GEOTIFF=ON + -DVXL_FORCE_V3P_OPENJPEG2=ON + -DVXL_FORCE_V3P_J2K=ON + -DBUILD_TESTING=OFF + -DBUILD_EXAMPLES=OFF ) vcpkg_install_cmake() +vcpkg_fixup_cmake_targets(CONFIG_PATH share/vxl/cmake) vcpkg_copy_pdbs() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) |
