Skip to content

Commit

Permalink
[eigen3] Fix include path (#13739)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyWangL authored Nov 6, 2020
1 parent f7b9fc0 commit f754a36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/eigen3/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 3 additions & 0 deletions ports/eigen3/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f754a36

Please sign in to comment.