mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 09:19:07 +08:00
e47b72b646
* Add kf5jobwidgets port * [kf5jobwidgets] update to 5.75.0 * [kf5jobwidgets] update to 5.84.0 * [kf5jobwidgets] update versions * [kf5jobwidgets] fix static build * [kf5jobwidgets] update versions * [kf5jobwidgets] replace deprecated functions Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * [kf5jobwidgets] update versions * [kf5jobwidgets] use semVer Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * [kf5jobwidgets] update versions * [kf5jobwidgets] DISABLE_PARALLEL_CONFIGURE * [kf5jobwidgets] update versions * [kf5jobwidgets] fix MAYBE_UNUSED_VARIABLES usage * [kf5jobwidgets] update versions * [kf5jobwidgets] remove extraneous options * [kf5jobwidgets] update versions Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
30 lines
943 B
CMake
30 lines
943 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO KDE/kjobwidgets
|
|
REF v5.84.0
|
|
SHA512 57aa8d5756e1c9ce955975bfb5dc33ed78aaa984420effbb3b79984f9fd46794f3da092185bbcefe0464228d8f504349f7efd3a0ae79406954dc9ea84b3553f8
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
OPTIONS
|
|
-DBUILD_TESTING=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/KF5JobWidgets)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
|
endif()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/etc")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|