mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[quantlib] Fix supports
(#25191)
* [quantlib] Support dynamic triplets on Windows * version * Fix cmake error * version * Fix cmake * version * only dynamic crt * version
This commit is contained in:
parent
ffa73a4e20
commit
4e443a30b9
@ -22,9 +22,11 @@ vcpkg_cmake_configure(
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME QuantLib CONFIG_PATH lib/cmake/QuantLib)
|
||||
vcpkg_copy_pdbs()
|
||||
# Install custom usage
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
# Install custom usage
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY)
|
||||
|
||||
# Handle copyright
|
||||
configure_file("${SOURCE_PATH}/LICENSE.TXT" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.TXT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,9 +1,11 @@
|
||||
{
|
||||
"name": "quantlib",
|
||||
"version": "1.26",
|
||||
"port-version": 1,
|
||||
"description": "The QuantLib C++ library",
|
||||
"homepage": "https://www.quantlib.org/",
|
||||
"supports": "!(windows & !static)",
|
||||
"license": "BSD-3-Clause",
|
||||
"supports": "!(windows & !staticcrt)",
|
||||
"dependencies": [
|
||||
"boost-accumulators",
|
||||
"boost-algorithm",
|
||||
|
@ -6062,7 +6062,7 @@
|
||||
},
|
||||
"quantlib": {
|
||||
"baseline": "1.26",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"quaternions": {
|
||||
"baseline": "1.0.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f5eb0f25fa5fdff2d0fd4b5cc1f1bb2e98033b59",
|
||||
"version": "1.26",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "3af9ced73240dfb4e1ec776c5f9a16ac277d1c27",
|
||||
"version": "1.26",
|
||||
|
Loading…
x
Reference in New Issue
Block a user