mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 23:40:25 +08:00
30 lines
1.1 KiB
CMake
30 lines
1.1 KiB
CMake
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO KDE/kwidgetsaddons
|
||
|
REF v5.64.0
|
||
|
SHA512 f49bade85b97468ad4c2faa34b71c6d04ff95c720c27e5b7adfb9a7b5acf8ff30b91d2beca7472dec6b8241f918b4fb15bddc1429be86a62bcefefe918311307
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
vcpkg_configure_cmake(
|
||
|
SOURCE_PATH ${SOURCE_PATH}
|
||
|
PREFER_NINJA
|
||
|
OPTIONS
|
||
|
-DBUILD_HTML_DOCS=OFF
|
||
|
-DBUILD_MAN_DOCS=OFF
|
||
|
-DBUILD_QTHELP_DOCS=OFF
|
||
|
-DBUILD_TESTING=OFF
|
||
|
-DBUILD_DESIGNERPLUGIN=OFF
|
||
|
)
|
||
|
|
||
|
vcpkg_install_cmake()
|
||
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5WidgetsAddons)
|
||
|
vcpkg_copy_pdbs()
|
||
|
|
||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
|
||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data)
|
||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||
|
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|