mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 23:26:36 +08:00
29 lines
904 B
CMake
29 lines
904 B
CMake
|
vcpkg_fail_port_install(ON_ARCH "x86" "arm" "arm64")
|
||
|
vcpkg_fail_port_install(ON_TARGET "linux" "uwp" "osx")
|
||
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||
|
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO ttauri-project/ttauri
|
||
|
REF v0.3.0
|
||
|
SHA512 8e01ea28516063902483da3fae1ecf8524d47803b3809c289ce6bba39fd47e6ba20d8882f2cfce9a0f7101b917f51659592dfe38f0353f91977e6db7f94e0400
|
||
|
HEAD_REF main
|
||
|
)
|
||
|
|
||
|
vcpkg_configure_cmake(
|
||
|
SOURCE_PATH ${SOURCE_PATH}
|
||
|
PREFER_NINJA
|
||
|
OPTIONS
|
||
|
-DTT_BUILD_TESTS=OFF
|
||
|
-DTT_BUILD_EXAMPLES=OFF
|
||
|
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
||
|
)
|
||
|
|
||
|
vcpkg_install_cmake()
|
||
|
vcpkg_fixup_cmake_targets()
|
||
|
vcpkg_copy_pdbs()
|
||
|
|
||
|
file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|