[Eigen3] Fix target check in cmake config. (#37231)

This has already been fixed upstream. The Eigen version in vcpkg is just
extremely old since there has been no new release done upstream.
This commit is contained in:
Alexander Neumann 2024-03-08 07:33:44 +01:00 committed by GitHub
parent c68c49df1a
commit 6a80b201ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 2 deletions

View File

@ -27,6 +27,7 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/eigen3/Eigen3Config.cmake" "if (NOT TARGET eigen)" "if (NOT TARGET Eigen3::Eigen)")
endblock()
if(NOT VCPKG_BUILD_TYPE)

View File

@ -1,7 +1,7 @@
{
"name": "eigen3",
"version": "3.4.0",
"port-version": 3,
"port-version": 4,
"description": "C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.",
"homepage": "http://eigen.tuxfamily.org",
"license": "MPL-2.0",

View File

@ -2458,7 +2458,7 @@
},
"eigen3": {
"baseline": "3.4.0",
"port-version": 3
"port-version": 4
},
"elements": {
"baseline": "2022-12-07",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "17249b310c689b0722c3ee825780a8e24c7d73a2",
"version": "3.4.0",
"port-version": 4
},
{
"git-tree": "38fc865a94dea7a84f8b1350936ed4fcc3e638cc",
"version": "3.4.0",