pineapple/externals/vcpkg/ports/tclap/portfile.cmake

11 lines
474 B
CMake
Raw Normal View History

2022-07-23 03:01:36 +02:00
vcpkg_from_sourceforge(
OUT_SOURCE_PATH SOURCE_PATH
REPO tclap
FILENAME "tclap-1.2.5.tar.gz"
SHA512 3b5b3d76e8ff21133001f5f9589fa6ec143729909bf0b9cc9934377bce178360c161fb5c1f4c4d9e9c74b09cff3d65f1d5100e61d4a732283524a78b6f236b10
)
file(COPY "${SOURCE_PATH}/include/tclap" DESTINATION "${CURRENT_PACKAGES_DIR}/include" FILES_MATCHING PATTERN "*.h")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)