mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
28b70b41c4
* bugfix for [ftgl] build failure #9520. Applied same solution as cbezault did for #7697 * bugfix for [ftgl] build failure #9520. Added suggested changes from the review and clean-up EOL characters. * [ftgl] remove ftgl:x64-linux=fail from ci.baseline.txt * [ftgl] build failure #9520 - disable doxygen on Linux * [ftgl] build failure #9520 - force the compiler to use the C++11 standard * [ftgl] build failure #9520 - remove ftgl:x64-osx=fail * [ftgl] build failure #9520 - add missing C++11 standard patch
33 lines
948 B
CMake
33 lines
948 B
CMake
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
|
|
REF 483639219095ad080538e07ceb5996de901d4e74
|
|
SHA512 d5bf95db8db6a5c9f710bd274cb9bb82e3e67569e8f3ec55b36e068636a09252e6f191e36d8279e61b5d12408c065ce51829fc38d4d7afe5bda724752d2f084f
|
|
HEAD_REF master
|
|
PATCHES
|
|
Fix-headersFilePath.patch
|
|
01_disable_doxygen.patch
|
|
02_enable-cpp11-std.patch
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
if (VCPKG_TARGET_IS_WINDOWS)
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
|
else ()
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
|
|
endif()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|