vcpkg/ports/libogg/portfile.cmake

24 lines
650 B
CMake
Raw Normal View History

2016-10-15 02:02:46 +08:00
include(vcpkg_common_functions)
2017-07-28 11:08:28 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xiph/ogg
REF cab46b19847eb1d38aeda73ab4708716e5776366
SHA512 3a5add81210a699c219ef3cef52ed71e00069dfee160aaf23bb68126f768a57139a77022f8c7bec88143a9393865a1e81b0a4c4e7b9e7f533dc665d656e99d90
HEAD_REF master
)
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
OPTIONS
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
2016-10-15 02:02:46 +08:00
)
vcpkg_install_cmake()
2017-07-28 11:08:28 +08:00
2016-10-15 02:02:46 +08:00
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_copy_pdbs()
2017-07-28 11:08:28 +08:00
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libogg RENAME copyright)