mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:19:00 +08:00
[eigen3] update to version 3.3.4
also remove the code to check for missing CMakeLists.txt, since it can only happen in version 3.3.3
This commit is contained in:
parent
5a74d30aab
commit
ce0f037bc1
@ -1,3 +1,3 @@
|
||||
Source: eigen3
|
||||
Version: 3.3.3-5
|
||||
Version: 3.3.4
|
||||
Description: C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
|
||||
|
@ -1,19 +1,12 @@
|
||||
#header-only library
|
||||
include(vcpkg_common_functions)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/eigen-eigen-67e894c6cd8f)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/eigen-eigen-5a0156e40feb)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "http://bitbucket.org/eigen/eigen/get/3.3.3.tar.bz2"
|
||||
FILENAME "eigen-3.3.3.tar.bz2"
|
||||
SHA512 bb5a8b761371e516f0a344a7c9f6e369e21c2907c8548227933ca6010fc607a66c8d6ff7c41b1aec3dea7d482ce8c2a09e38ae5c7a2c5b16bdd8007e7a81ecc3
|
||||
URLS "http://bitbucket.org/eigen/eigen/get/3.3.4.tar.bz2"
|
||||
FILENAME "eigen-3.3.4.tar.bz2"
|
||||
SHA512 d67a3fd8f7ce811af65fc1d43ec347dadf9c643a49135f7e455fc303773bad09e80a125282c7dfca7a1993b79e1f66576ac92418119fbb0fa50c1a581b957c0d
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
# check if required file exists
|
||||
if((NOT EXISTS ${SOURCE_PATH}/Eigen/CMakeLists.txt) OR (NOT EXISTS ${SOURCE_PATH}/unsupported/Eigen/CMakeLists.txt))
|
||||
message(STATUS "Missing CMakeLists.txt in cache, re-extracting.")
|
||||
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR})
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
|
Loading…
Reference in New Issue
Block a user