2022-01-04 05:23:35 +08:00
|
|
|
vcpkg_from_github(
|
2020-06-27 06:06:30 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2022-01-04 05:23:35 +08:00
|
|
|
REPO PortMidi/portmidi
|
2022-01-05 12:00:50 +08:00
|
|
|
REF v2.0.2
|
|
|
|
SHA512 36c43dc1f8b304c36de1c4672b8d2abe67c72dd8ea46044ebd479896a0e346f00207d4483e08701a04cdf3f342790c874f8a1c07d71d5d55d763bf97a1276021
|
2022-01-04 05:23:35 +08:00
|
|
|
HEAD_REF master
|
2017-12-27 18:49:36 +08:00
|
|
|
)
|
|
|
|
|
2022-01-04 05:23:35 +08:00
|
|
|
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
2021-09-17 22:51:19 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-12-27 18:49:36 +08:00
|
|
|
|
2022-01-04 05:23:35 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/PortMidi)
|
2017-12-27 18:49:36 +08:00
|
|
|
|
2022-01-04 05:23:35 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2021-09-17 22:51:19 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|