mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 17:18:59 +08:00
baf8db0dfe
Update ports/ftxui/portfile.cmake Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
27 lines
775 B
CMake
27 lines
775 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO ArthurSonzogni/FTXUI
|
|
REF "v${VERSION}"
|
|
SHA512 989afc109e31fa083f5d953d199dc7f4515daaee7014ec1616b48bc66ff49643bc32e5cdd273016a1d44f6921f6031d1e7e41fc2375cfee44fc719223baaaa7b
|
|
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")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|