mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 03:07:50 +08:00
29 lines
750 B
CMake
29 lines
750 B
CMake
|
vcpkg_fail_port_install(ON_TARGET "UWP")
|
||
|
|
||
|
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
|
||
|
)
|