2020-04-01 11:34:37 +08:00
|
|
|
if(VCPKG_TARGET_IS_LINUX)
|
2022-05-18 02:15:06 +08:00
|
|
|
message(WARNING "${PORT} currently requires libglu1-mesa from the system package manager:
|
2020-04-01 11:34:37 +08:00
|
|
|
This can be installed on Ubuntu systems via sudo apt install libglu1-mesa-dev")
|
|
|
|
endif()
|
2018-11-08 15:48:23 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO dascandy/pixel
|
2022-03-17 05:27:33 +08:00
|
|
|
REF c4411f67746fdd811aa5f8c102ac340e9eaf4ec5
|
|
|
|
SHA512 e4f704c076bb61220349524b0b1033a92c44128bb81e79dbd32ea2d1aa9d4abb0d6daab3617f69b59d1c1e50d750767153174fea015d8718804612f4d9f68ff6
|
2018-11-08 15:48:23 +08:00
|
|
|
HEAD_REF master
|
2022-03-17 05:27:33 +08:00
|
|
|
PATCHES
|
|
|
|
001-prevent-examples.patch
|
2018-11-08 15:48:23 +08:00
|
|
|
)
|
|
|
|
|
2022-03-17 05:27:33 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DBUILD_EXAMPLES=OFF
|
2018-11-08 15:48:23 +08:00
|
|
|
)
|
|
|
|
|
2022-03-17 05:27:33 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-11-08 15:48:23 +08:00
|
|
|
|
2022-03-17 05:27:33 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2018-11-08 15:48:23 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
2022-03-17 05:27:33 +08:00
|
|
|
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|