mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 02:02:49 +08:00
[eigen3] Fix long path issue in UWP (#6136)
This commit is contained in:
parent
5285f8dc4a
commit
3667328354
@ -1,3 +1,3 @@
|
||||
Source: eigen3
|
||||
Version: 3.3.7
|
||||
Version: 3.3.7-1
|
||||
Description: C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
|
||||
|
@ -1,5 +1,12 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
string(LENGTH "${CURRENT_BUILDTREES_DIR}" BUILDTREES_PATH_LENGTH)
|
||||
if(BUILDTREES_PATH_LENGTH GREATER 37 AND CMAKE_HOST_WIN32)
|
||||
message(WARNING "eigen3'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_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO eigenteam/eigen-git-mirror
|
||||
|
Loading…
Reference in New Issue
Block a user