vcpkg/ports/hikogui/portfile.cmake
Take Vos 6800713976
[hikogui] update to version 0.7.0 (#27134)
* [hikogui] update to version 0.7.0

* [hikogui] empty ttauri and fix deprecated port files.

Make ttauri an empty dependency only port which imports
hikogui.

Update the hikogui portfile to use non-deprecated functions.

* [ttauri] version update

* Update ports/hikogui/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* remove port-version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2022-10-12 01:31:44 -07:00

26 lines
728 B
CMake

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO hikogui/hikogui
REF v0.7.0
SHA512 64555c67e5a44f336a3528d3a894d43e2751a1f4e4e4d9f6618c085ef0be4a502610a36625d95f79298080cb483f7361a758f7c43b4784999b0b5d839baacb28
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-DHI_BUILD_TESTS=OFF
-DHI_BUILD_EXAMPLES=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
vcpkg_copy_pdbs()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")