mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 05:49:08 +08:00
[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:
parent
c68c49df1a
commit
6a80b201ad
@ -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)
|
||||
|
@ -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",
|
||||
|
@ -2458,7 +2458,7 @@
|
||||
},
|
||||
"eigen3": {
|
||||
"baseline": "3.4.0",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"elements": {
|
||||
"baseline": "2022-12-07",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "17249b310c689b0722c3ee825780a8e24c7d73a2",
|
||||
"version": "3.4.0",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "38fc865a94dea7a84f8b1350936ed4fcc3e638cc",
|
||||
"version": "3.4.0",
|
||||
|
Loading…
Reference in New Issue
Block a user