2019-03-07 09:04:24 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO GillesDebunne/libQGLViewer
|
2024-02-03 05:37:58 +08:00
|
|
|
REF "v${VERSION}"
|
2023-03-29 05:55:37 +08:00
|
|
|
SHA512 09bfc5c0f07e51625a9af0094b83f40f84ead55a67c6e492c9702521f58c6b461bc840382fb73b64d16ad71a0a2a75d04aa12a77a78ced0a19e0e784e8d36bd7
|
2019-12-21 04:23:09 +08:00
|
|
|
PATCHES
|
2023-03-29 05:55:37 +08:00
|
|
|
Add-compile-definitions.patch
|
2024-02-03 05:37:58 +08:00
|
|
|
Fix-error-c2039.patch #https://github.com/GillesDebunne/libQGLViewer/pull/80
|
2019-03-07 09:04:24 +08:00
|
|
|
)
|
|
|
|
|
2023-03-29 05:55:37 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-12-23 22:10:12 +08:00
|
|
|
)
|
2019-03-07 09:04:24 +08:00
|
|
|
|
2023-03-29 05:55:37 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2019-03-07 09:04:24 +08:00
|
|
|
|
2024-02-03 05:37:58 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENCE")
|