mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-17 03:48:13 +08:00
dcedc95761
* [eigen3] Update to 3.4.0 * [theia] Update to support Eigen 3.4 * [shogun/openmvg] Patches to support Eigen 3.4 from @cenit * Commit result of x-add-version * [rtabmap] add bigobj * x-add-version * Update ports/eigen3/vcpkg.json Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> * Run x-add-version Co-authored-by: Tobias Wood <tobias@mi3.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com> Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
34 lines
1.3 KiB
CMake
34 lines
1.3 KiB
CMake
vcpkg_buildpath_length_warning(37)
|
|
|
|
vcpkg_from_gitlab(
|
|
GITLAB_URL https://gitlab.com
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO libeigen/eigen
|
|
REF 3.4.0
|
|
SHA512 ba75ecb760e32acf4ceaf27115468e65d4f77c44f8d519b5a13e7940af2c03a304ad433368cb6d55431f307c5c39e2666ab41d34442db3cf441638e51f5c3b6a
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_TESTING=OFF
|
|
-DEIGEN_BUILD_PKGCONFIG=ON
|
|
OPTIONS_RELEASE
|
|
-DCMAKEPACKAGE_INSTALL_DIR=${CURRENT_PACKAGES_DIR}/share/eigen3
|
|
-DPKGCONFIG_INSTALL_DIR=${CURRENT_PACKAGES_DIR}/lib/pkgconfig
|
|
OPTIONS_DEBUG
|
|
-DCMAKEPACKAGE_INSTALL_DIR=${CURRENT_PACKAGES_DIR}/debug/share/eigen3
|
|
-DPKGCONFIG_INSTALL_DIR=${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup()
|
|
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) |