vcpkg/ports/iir1/portfile.cmake
chausner 9d642bd84f
[iir1] Update to 1.9.1 (#24390)
* Update iir1 to 1.9.1

* Update CI baseline

* Only either build as shared or static

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2022-04-25 17:25:05 -07:00

26 lines
677 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO berndporr/iir1
REF 1.9.1
SHA512 115692fb82637d21c2cbff974d931ef12a5c7fd8502560e2b807ceed69b1a6a4e05898aff37b089ccda7c4aa32e97e71f7e6007998ec52f6122da33eb222112e
HEAD_REF master
PATCHES
fix-shared-static.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME iir CONFIG_PATH lib/cmake/iir)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)