2016-10-15 02:02:46 +08:00
|
|
|
include(vcpkg_common_functions)
|
2019-05-03 13:57:43 +08:00
|
|
|
|
2017-07-28 11:08:28 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO xiph/ogg
|
2019-06-15 06:57:33 +08:00
|
|
|
REF 6ccfcc2dce48c0d430b45064d0e13c962a64c42f
|
|
|
|
SHA512 441950d541f626a2e668efab4ed429c453534ef0334aad410013f07870a4a99e347f7a7eed335d77af41f02ce3dd600564d982e4c976a0c4cb76c19b1231d39e
|
2017-07-28 11:08:28 +08:00
|
|
|
HEAD_REF master
|
2019-06-15 06:57:33 +08:00
|
|
|
PATCHES
|
|
|
|
missing_usize64.patch
|
2017-07-28 11:08:28 +08:00
|
|
|
)
|
2016-10-15 02:02:46 +08:00
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
2017-07-28 11:08:28 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2017-08-16 00:17:20 +08:00
|
|
|
PREFER_NINJA
|
2019-06-15 06:57:33 +08:00
|
|
|
OPTIONS -DINSTALL_DOCS=0 -DINSTALL_PKG_CONFIG_MODULE=0
|
2016-10-15 02:02:46 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
2017-07-28 11:08:28 +08:00
|
|
|
|
2019-06-15 06:57:33 +08:00
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/ogg TARGET_PATH share/ogg)
|
2019-02-27 00:44:48 +08:00
|
|
|
|
2016-10-15 02:02:46 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
2016-10-25 06:36:33 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
2017-07-28 11:08:28 +08:00
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libogg RENAME copyright)
|