vcpkg/ports/kuku/portfile.cmake

24 lines
655 B
CMake
Raw Normal View History

if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
2020-12-05 08:40:35 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/Kuku
REF "v${VERSION}"
SHA512 4b0f0cae191c70d20337fb1581fa06a8fe363a942cf3a3b6be59fbef551b70446405fb1e4e5e7ec917d5519e8d2ad0ea59bd59c36dbf917e838fc1a1cd6a3bef
HEAD_REF main
2020-12-05 08:40:35 +08:00
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
2020-12-05 08:40:35 +08:00
DISABLE_PARALLEL_CONFIGURE
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Kuku-2.1)
2020-12-05 08:40:35 +08:00
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
2020-12-05 08:40:35 +08:00
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")