aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ftxui/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ftxui/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/ftxui/portfile.cmake')
-rw-r--r--vcpkg/ports/ftxui/portfile.cmake28
1 files changed, 28 insertions, 0 deletions
diff --git a/vcpkg/ports/ftxui/portfile.cmake b/vcpkg/ports/ftxui/portfile.cmake
new file mode 100644
index 0000000..934a196
--- /dev/null
+++ b/vcpkg/ports/ftxui/portfile.cmake
@@ -0,0 +1,28 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ArthurSonzogni/FTXUI
+ REF "v${VERSION}"
+ SHA512 55921a42081630947760f46b533fa1e1f65abfad8976db74018fa48889ba352a01b6adaa56fba482f100f15e450df7e0e3120f899d89685612bf19199a7f7c59
+ HEAD_REF main
+)
+
+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})
+
+vcpkg_fixup_pkgconfig()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")