diff options
| author | Stefano Sinigardi <stesinigardi@hotmail.com> | 2020-08-28 07:13:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-27 22:13:05 -0700 |
| commit | 0a506f7c5e7ecc85893855fcd6bf3ace96d590ae (patch) | |
| tree | b7dc536d835684fef12f244df69ede649a357a4e /ports/eigen3 | |
| parent | 68003004c045c527d1c74c238abd29ae619e60bc (diff) | |
| download | vcpkg-0a506f7c5e7ecc85893855fcd6bf3ace96d590ae.tar.gz vcpkg-0a506f7c5e7ecc85893855fcd6bf3ace96d590ae.zip | |
[OpenMVG/OpenMVS] fix tools (#12229)
Diffstat (limited to 'ports/eigen3')
| -rw-r--r-- | ports/eigen3/CONTROL | 2 | ||||
| -rw-r--r-- | ports/eigen3/portfile.cmake | 11 |
2 files changed, 3 insertions, 10 deletions
diff --git a/ports/eigen3/CONTROL b/ports/eigen3/CONTROL index 9a60167d2..90d0726e2 100644 --- a/ports/eigen3/CONTROL +++ b/ports/eigen3/CONTROL @@ -1,5 +1,5 @@ Source: eigen3 Version: 3.3.7 -Port-Version: 6 +Port-Version: 7 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 dedfd026b..6d72fdc5e 100644 --- a/ports/eigen3/portfile.cmake +++ b/ports/eigen3/portfile.cmake @@ -25,16 +25,9 @@ vcpkg_configure_cmake( ) vcpkg_install_cmake() - -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share) - -vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/share/eigen3/Eigen3Targets.cmake - "set(_IMPORT_PREFIX " "get_filename_component(_IMPORT_PREFIX \"\${CMAKE_CURRENT_LIST_DIR}/../..\" ABSOLUTE) #" -) - +vcpkg_fixup_cmake_targets() vcpkg_fixup_pkgconfig() -file(GLOB INCLUDES ${CURRENT_PACKAGES_DIR}/include/eigen3/*) -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) |
