vcpkg/ports/cmakerc/portfile.cmake

14 lines
670 B
CMake
Raw Normal View History

set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO vector-of-bool/cmrc
REF 9a3396444e0478bd6f261075e74d1ecf70964029
SHA512 623ed673e70923fbbd242de35ef5c2ecedb50ce4dae5b94f028dcb3f4c3f69c585eb0e4dcebb7f96a7a0075ea2430cc3878975cba09142f5798db06678fe9295
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/CMakeRC.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME cmakerc-config.cmake)
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
2022-10-06 06:04:06 +08:00
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")