windows-amd64-prebuilt-libr.../vcpkg/ports/frozen/portfile.cmake
2020-10-10 14:36:42 +02:00

23 lines
724 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO serge-sans-paille/frozen
REF b5735474fdaa28753c1dae515df5a4fdb45d94dd
SHA512 b175a03b4a0263937e176675558e2df0bd4174799e2c5d7138842235fa24be57bccd8b96fddb5791e055b9de44211063f195142de73acf9d4f52a9a37f7055cc
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_TESTING=OFF
-Dfrozen.tests=OFF
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/frozen TARGET_PATH share/frozen)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)