diff options
| author | Lily <47812810+LilyWangL@users.noreply.github.com> | 2020-11-06 09:30:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-05 17:30:40 -0800 |
| commit | f754a3658943106358ade75716f472f30809a76b (patch) | |
| tree | 37109af0efc56dd71ba52c2aaefcd92165607b04 | |
| parent | f7b9fc0b3c0a1ec21063ef3670ecf8fa05e70806 (diff) | |
| download | vcpkg-f754a3658943106358ade75716f472f30809a76b.tar.gz vcpkg-f754a3658943106358ade75716f472f30809a76b.zip | |
[eigen3] Fix include path (#13739)
| -rw-r--r-- | ports/eigen3/CONTROL | 2 | ||||
| -rw-r--r-- | ports/eigen3/portfile.cmake | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/eigen3/CONTROL b/ports/eigen3/CONTROL index 90d0726e2..f1180da66 100644 --- a/ports/eigen3/CONTROL +++ b/ports/eigen3/CONTROL @@ -1,5 +1,5 @@ Source: eigen3 Version: 3.3.7 -Port-Version: 7 +Port-Version: 8 Homepage: http://eigen.tuxfamily.org Description: C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms. diff --git a/ports/eigen3/portfile.cmake b/ports/eigen3/portfile.cmake index 6d72fdc5e..4fc9c7cc3 100644 --- a/ports/eigen3/portfile.cmake +++ b/ports/eigen3/portfile.cmake @@ -28,6 +28,9 @@ vcpkg_install_cmake() vcpkg_fixup_cmake_targets() vcpkg_fixup_pkgconfig() +file(GLOB INCLUDES ${CURRENT_PACKAGES_DIR}/include/eigen3/*) +# Copy the eigen header files to conventional location for user-wide MSBuild integration +file(COPY ${INCLUDES} DESTINATION ${CURRENT_PACKAGES_DIR}/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share) file(INSTALL ${SOURCE_PATH}/COPYING.README DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
