mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 17:41:47 +08:00
659b6b5eea
* [zlib] Use readme as copyright * [soil2] update to 1.3.0 * [bento4] update to 1.6.0-639 * [bento4] fix version db * [zlib] Format manifest * [anglescript] Remove local license * [bustache] Update to master * [bustache] Don't update * version * version * remove version string * remove v * version * version * Fix version database. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
26 lines
765 B
CMake
26 lines
765 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO SpartanJ/soil2
|
|
REF ddcb35d13cc4129103de1c1a3cb74b828fe46b4a # 1.3.0
|
|
SHA512 627c7bf4fddd5afef85ba7634c5ec0e10005c700abc1eb07c6346c1604e430c34aa4c33f6ffecbecb3dc2b04de7b855a3f6d923e94f23621ae0184e706358908
|
|
HEAD_REF master
|
|
PATCHES Workaround-ICE-in-release.patch
|
|
)
|
|
|
|
file(
|
|
COPY
|
|
"${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt"
|
|
"${CMAKE_CURRENT_LIST_DIR}/soil2Config.cmake.in"
|
|
DESTINATION "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS_DEBUG -DINSTALL_HEADERS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
# Handle copyright
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|