diff options
| author | Phoebe <925731795@qq.com> | 2019-09-27 05:31:55 +0800 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-09-26 14:31:55 -0700 |
| commit | 690ddd480f86169e8eb2973d8bc57b769ebf8534 (patch) | |
| tree | 927713c8fe7afac9947ebd56c3e136776d192f65 /ports/openmvg | |
| parent | 20db9806c6a891558009d8b166f2f92f74599a12 (diff) | |
| download | vcpkg-690ddd480f86169e8eb2973d8bc57b769ebf8534.tar.gz vcpkg-690ddd480f86169e8eb2973d8bc57b769ebf8534.zip | |
[many ports] Warning to VCPKG long build path (#8331)
Diffstat (limited to 'ports/openmvg')
| -rw-r--r-- | ports/openmvg/CONTROL | 2 | ||||
| -rw-r--r-- | ports/openmvg/portfile.cmake | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/ports/openmvg/CONTROL b/ports/openmvg/CONTROL index b08351664..7e7384a19 100644 --- a/ports/openmvg/CONTROL +++ b/ports/openmvg/CONTROL @@ -1,5 +1,5 @@ Source: openmvg -Version: 1.4-5 +Version: 1.4-6 Description: open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion. Build-Depends: coinutils, clp, osi, liblemon, flann, eigen3, ceres, cereal, libjpeg-turbo, tiff, libpng, zlib, suitesparse diff --git a/ports/openmvg/portfile.cmake b/ports/openmvg/portfile.cmake index a5dea72fa..9f517c11f 100644 --- a/ports/openmvg/portfile.cmake +++ b/ports/openmvg/portfile.cmake @@ -1,11 +1,6 @@ include(vcpkg_common_functions) -string(LENGTH "${CURRENT_BUILDTREES_DIR}" BUILDTREES_PATH_LENGTH) -if(BUILDTREES_PATH_LENGTH GREATER 37 AND CMAKE_HOST_WIN32) - message(WARNING "${PORT}'s buildsystem uses very long paths and may fail on your system.\n" - "We recommend moving vcpkg to a short path such as 'C:\\src\\vcpkg' or using the subst command." - ) -endif() +vcpkg_buildpath_length_warning(37) #the port produces some empty dlls when building shared libraries, since some components do not export anything, breaking the internal build itself vcpkg_check_linkage(ONLY_STATIC_LIBRARY) |
