early-access version 2853
This commit is contained in:
18
externals/vcpkg/ports/spectra/portfile.cmake
vendored
Executable file
18
externals/vcpkg/ports/spectra/portfile.cmake
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO yixuan/spectra
|
||||
REF v1.0.1
|
||||
SHA512 575f90d2ab9c3cbdd4bbfe1abce35a262e319dac8689420859811a169cbfd8f617c80bfcd430aa8a5383c96f338155870a0ad7ac0d5db855c1e822c2d19837b5
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/spectra/cmake)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
19
externals/vcpkg/ports/spectra/vcpkg.json
vendored
Executable file
19
externals/vcpkg/ports/spectra/vcpkg.json
vendored
Executable file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "spectra",
|
||||
"version": "1.0.1",
|
||||
"description": "A header-only C++ library for large scale eigenvalue problems",
|
||||
"homepage": "https://spectralib.org",
|
||||
"documentation": "https://spectralib.org/quick-start.html",
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": [
|
||||
"eigen3",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user