mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-09 14:09:02 +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/lilv
|
||
|
REF v0.24.10
|
||
|
SHA512 be47b72f2671f3bbab219944519b990156547e26aa432c2618273683c86dc23ae3b071d1de586f45dfda3ea8dbbc095429ad318fda60efcf715ae917a7caa34b
|
||
|
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
|
||
|
)
|