aboutsummaryrefslogtreecommitdiff
path: root/ports/ompl
diff options
context:
space:
mode:
authorVictor Romero <romerosanchezv@gmail.com>2019-04-02 16:53:20 -0700
committerVictor Romero <romerosanchezv@gmail.com>2019-04-02 16:53:20 -0700
commit9596fe7dd72179045cd9460730a71e197e82b1c2 (patch)
treec27ae77fe5a646686bbf72f910416dfbb2af9e0b /ports/ompl
parentf41cc7b47cd0e846e047891b605f6870cc598ccb (diff)
parent0fffb47ed02507aeacc29c64d91e9d4639f981f6 (diff)
downloadvcpkg-9596fe7dd72179045cd9460730a71e197e82b1c2.tar.gz
vcpkg-9596fe7dd72179045cd9460730a71e197e82b1c2.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into pr/cmake_3_14
Diffstat (limited to 'ports/ompl')
-rw-r--r--ports/ompl/portfile.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/ompl/portfile.cmake b/ports/ompl/portfile.cmake
index b0814e3b1..f03c3dd15 100644
--- a/ports/ompl/portfile.cmake
+++ b/ports/ompl/portfile.cmake
@@ -12,6 +12,13 @@
include(vcpkg_common_functions)
+string(LENGTH "${CURRENT_BUILDTREES_DIR}" BUILDTREES_PATH_LENGTH)
+if(BUILDTREES_PATH_LENGTH GREATER 37 AND CMAKE_HOST_WIN32)
+ message(WARNING "Ompl'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()
+
set(OMPL_VERSION 1.4.1)
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/ompl/ompl/archive/${OMPL_VERSION}.zip"