aboutsummaryrefslogtreecommitdiff
path: root/ports/ompl
diff options
context:
space:
mode:
authorPhoebe <925731795@qq.com>2019-09-27 05:31:55 +0800
committerCurtis J Bezault <curtbezault@gmail.com>2019-09-26 14:31:55 -0700
commit690ddd480f86169e8eb2973d8bc57b769ebf8534 (patch)
tree927713c8fe7afac9947ebd56c3e136776d192f65 /ports/ompl
parent20db9806c6a891558009d8b166f2f92f74599a12 (diff)
downloadvcpkg-690ddd480f86169e8eb2973d8bc57b769ebf8534.tar.gz
vcpkg-690ddd480f86169e8eb2973d8bc57b769ebf8534.zip
[many ports] Warning to VCPKG long build path (#8331)
Diffstat (limited to 'ports/ompl')
-rw-r--r--ports/ompl/CONTROL2
-rw-r--r--ports/ompl/portfile.cmake7
2 files changed, 2 insertions, 7 deletions
diff --git a/ports/ompl/CONTROL b/ports/ompl/CONTROL
index bf9ad3a1f..221507c05 100644
--- a/ports/ompl/CONTROL
+++ b/ports/ompl/CONTROL
@@ -1,5 +1,5 @@
Source: ompl
-Version: 1.4.2-1
+Version: 1.4.2-2
Description: The Open Motion Planning Library, consists of many state-of-the-art sampling-based motion planning algorithms
Build-Depends: boost-disjoint-sets, boost-dynamic-bitset, boost-filesystem, boost-graph, boost-odeint, boost-program-options, boost-serialization, boost-system, boost-test, boost-ublas, boost-timer, eigen3
diff --git a/ports/ompl/portfile.cmake b/ports/ompl/portfile.cmake
index 87af91de8..f6eaab808 100644
--- a/ports/ompl/portfile.cmake
+++ b/ports/ompl/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)
set(OMPL_VERSION 1.4.2)
set(OMPL_DISTNAME "ompl")