mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 16:51:38 +08:00
0573bcaad9
- Switch to version-semver - Add version 2.0.0. Released 14 days ago: https://github.com/ArthurSonzogni/FTXUI/releases/tag/v2.0.0
27 lines
858 B
CMake
27 lines
858 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO ArthurSonzogni/FTXUI
|
|
REF 81b7207121e41c3b838eca6f54396e4f676fa3d8 # 2.0.0
|
|
SHA512 44a0617e591f5340090866dd02d786af5de948829b00839c6fd0fdb67e8a5ec71fadecaa433892773b2073668fb9cef62652479d9793bdf323c91ebb9595c7e5
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DFTXUI_BUILD_EXAMPLES=OFF
|
|
-DFTXUI_ENABLE_INSTALL=ON
|
|
-DFTXUI_BUILD_TESTS=OFF
|
|
-DFTXUI_BUILD_DOCS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|