mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 11:20:25 +08:00
27 lines
706 B
CMake
27 lines
706 B
CMake
|
vcpkg_from_gitlab(
|
||
|
GITLAB_URL https://gitlab.com
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO lv2/sratom
|
||
|
REF v0.6.4
|
||
|
SHA512 c155694365e9efe2f108135cccafd6369e896bd27ec816ac8bb429785d9218b1b30e8532188cfb39485d4b163a920ddb47466a461dcd6958d754ed0698d31081
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
||
|
|
||
|
vcpkg_configure_cmake(
|
||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||
|
PREFER_NINJA
|
||
|
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=1
|
||
|
)
|
||
|
|
||
|
vcpkg_install_cmake()
|
||
|
|
||
|
vcpkg_copy_pdbs()
|
||
|
vcpkg_fixup_cmake_targets()
|
||
|
file(
|
||
|
INSTALL "${SOURCE_PATH}/COPYING"
|
||
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
||
|
RENAME copyright
|
||
|
)
|