2020-01-28 06:11:39 +08:00
|
|
|
if (VCPKG_TARGET_IS_WINDOWS)
|
|
|
|
# doxygen only have windows package in vcpkg now.
|
|
|
|
vcpkg_find_acquire_program(DOXYGEN)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO frankheckenbach/ftgl
|
2022-05-18 17:28:28 +08:00
|
|
|
REF 36e8cd683492456def3b6a54c6dcb56cd6ee4bb4 #commmit-data 2022-05-18
|
|
|
|
SHA512 b357cf18890664d437f41d7bf18f39c894743e76e2e0b2296254b27e5675866956473e7b78139d0e6cdd7e8310bf8d2943ba0ddeea494ee67857d6083c490dc2
|
2020-01-28 06:11:39 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
|
|
|
01_disable_doxygen.patch
|
|
|
|
02_enable-cpp11-std.patch
|
|
|
|
)
|
|
|
|
|
2021-11-05 01:42:34 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-01-28 06:11:39 +08:00
|
|
|
)
|
|
|
|
|
2021-11-05 01:42:34 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-01-28 06:11:39 +08:00
|
|
|
if (VCPKG_TARGET_IS_WINDOWS)
|
2021-11-05 01:42:34 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
|
2020-01-28 06:11:39 +08:00
|
|
|
else ()
|
2021-11-05 01:42:34 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
|
2020-01-28 06:11:39 +08:00
|
|
|
endif()
|
|
|
|
|
2021-11-05 01:42:34 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2020-01-28 06:11:39 +08:00
|
|
|
|
2022-05-21 05:36:33 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
2021-11-05 01:42:34 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|