diff --git a/ports/quantlib/portfile.cmake b/ports/quantlib/portfile.cmake index a75a85b831..36504190ac 100644 --- a/ports/quantlib/portfile.cmake +++ b/ports/quantlib/portfile.cmake @@ -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) diff --git a/ports/quantlib/vcpkg.json b/ports/quantlib/vcpkg.json index 49aa646ed3..27dc4edad1 100644 --- a/ports/quantlib/vcpkg.json +++ b/ports/quantlib/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index ab4b417760..a4a7ff7415 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6062,7 +6062,7 @@ }, "quantlib": { "baseline": "1.26", - "port-version": 0 + "port-version": 1 }, "quaternions": { "baseline": "1.0.0", diff --git a/versions/q-/quantlib.json b/versions/q-/quantlib.json index 8e8b979b3a..a3498ea871 100644 --- a/versions/q-/quantlib.json +++ b/versions/q-/quantlib.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "f5eb0f25fa5fdff2d0fd4b5cc1f1bb2e98033b59", + "version": "1.26", + "port-version": 1 + }, { "git-tree": "3af9ced73240dfb4e1ec776c5f9a16ac277d1c27", "version": "1.26",