2021-02-04 03:40:55 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO xsco/libdjinterop
|
2023-07-06 02:43:14 +08:00
|
|
|
REF "${VERSION}"
|
2023-09-27 16:25:18 +08:00
|
|
|
SHA512 2f75a57326cc958bce6634aba407707313cec646d1713c80d9286d9d2448a68dd304eacd02b38c237a6bb869f07b9b3d3b1cc7fcb7c3a9cdf6ba7515166be6cf
|
2021-02-04 03:40:55 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2023-07-06 02:43:14 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_Boost=ON
|
|
|
|
)
|
2021-09-23 04:00:06 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-02-04 03:40:55 +08:00
|
|
|
|
2023-07-06 02:43:14 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME djinterop CONFIG_PATH lib/cmake/DjInterop)
|
2021-09-23 04:00:06 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2021-02-04 03:40:55 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2021-09-23 04:00:06 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2023-07-06 02:43:14 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|