diff options
| author | Phil Christensen <philc@microsoft.com> | 2019-03-27 09:51:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-27 09:51:04 -0700 |
| commit | 72c574d9be39b5825dfbecf2cf6cfc63494796e5 (patch) | |
| tree | 7898d0f5407686d7959807db19c00ae26dcb406b /ports/ompl | |
| parent | bab450fab5c207f3d524ec4e73853711e769349f (diff) | |
| parent | e3ae651d53a91825a40da9740a6de68731b47b3e (diff) | |
| download | vcpkg-72c574d9be39b5825dfbecf2cf6cfc63494796e5.tar.gz vcpkg-72c574d9be39b5825dfbecf2cf6cfc63494796e5.zip | |
Merge pull request #5835 from wangli28/dev/Lily/LongPathWarning
[many ports]Add long path warnings
Diffstat (limited to 'ports/ompl')
| -rw-r--r-- | ports/ompl/portfile.cmake | 7 |
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"
|
