2018-08-31 04:12:11 +08:00
|
|
|
vcpkg_check_linkage(
|
|
|
|
ONLY_STATIC_LIBRARY
|
|
|
|
)
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO s-yata/darts-clone
|
|
|
|
REF 1767ab87cffe7302856d1bb41e1c21b1df93f19e
|
|
|
|
SHA512 63112a4d8d6302d2602a8f161bf5fe5ec1b5b3b3097de9b28331f5261d76c06efb48601c08df26f242ddc881b917928baf54f24ccebac65da29e94380b6db0f5
|
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2023-03-07 07:44:04 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
2018-08-31 04:12:11 +08:00
|
|
|
|
|
|
|
|
2023-03-07 07:44:04 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-08-31 04:12:11 +08:00
|
|
|
OPTIONS_DEBUG
|
|
|
|
-DDISABLE_INSTALL_HEADERS=ON
|
|
|
|
)
|
|
|
|
|
2023-03-07 07:44:04 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-08-31 04:12:11 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2023-03-07 07:44:04 +08:00
|
|
|
file(REMOVE "${CURRENT_PACKAGES_DIR}/include/Makefile.am")
|
2019-06-13 12:39:10 +08:00
|
|
|
|
2023-03-07 07:44:04 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|