mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 18:39:03 +08:00
e6b41b07b4
* [protopuf] Update to 1.0.1 * [protopuf] Add version info
21 lines
552 B
CMake
21 lines
552 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO PragmaTwice/protopuf
|
|
REF v1.0.1
|
|
SHA512 d58bff752fde243ea20c4bcb34c197d6495004b6a77a95332aff3d4a647adf5e1a6fb3cde862aa7e876b02ad0caa4893f2337323dca510686c7a95c1598d2249
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DBUILD_TESTS=OFF
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|