vcpkg/ports/opus/portfile.cmake

29 lines
767 B
CMake
Raw Normal View History

2017-01-26 01:27:09 +01:00
include(vcpkg_common_functions)
2017-06-20 23:35:49 +02:00
vcpkg_from_github(
2019-04-09 09:56:02 -07:00
OUT_SOURCE_PATH
SOURCE_PATH
REPO
xiph/opus
REF
2019-04-14 01:02:58 -07:00
e85ed7726db5d677c9c0677298ea0cb9c65bdd23
2019-04-09 09:56:02 -07:00
SHA512
2019-04-14 01:02:58 -07:00
a8c7e5bf383c06f1fdffd44d9b5f658f31eb4800cb59d12da95ddaeb5646f7a7b03025f4663362b888b1374d4cc69154f006ba07b5840ec61ddc1a1af01d6c54
2019-04-09 09:56:02 -07:00
HEAD_REF
master)
vcpkg_configure_cmake(SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Opus)
2017-06-20 23:35:49 +02:00
vcpkg_copy_pdbs()
2019-04-09 09:56:02 -07:00
file(INSTALL
${SOURCE_PATH}/COPYING
DESTINATION
${CURRENT_PACKAGES_DIR}/share/opus
RENAME copyright)
2017-06-20 23:35:49 +02:00
2019-04-09 09:56:02 -07:00
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake
${CURRENT_PACKAGES_DIR}/lib/cmake
${CURRENT_PACKAGES_DIR}/debug/include)