2018-06-13 06:00:16 +08:00
|
|
|
vcpkg_from_github(
|
2023-07-11 01:52:11 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Milerius/shiva
|
|
|
|
REF ${VERSION}
|
|
|
|
SHA512 d1ce33e89b17fa8f82e21b51dfa1308e38c617fea52c34a20b7b6c8643318280df24c043238ddd73ba2dbc139c5b5de1c2cb3add1f5629a54694c78b415d73d1
|
|
|
|
HEAD_REF master
|
|
|
|
PATCHES find_python_and_no_copy_dll.patch
|
2018-06-10 22:26:25 +08:00
|
|
|
)
|
|
|
|
|
2022-03-15 01:25:04 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
DISABLE_PARALLEL_CONFIGURE
|
2019-05-28 01:55:20 +08:00
|
|
|
OPTIONS
|
2022-03-15 01:25:04 +08:00
|
|
|
-DSHIVA_BUILD_TESTS=OFF
|
|
|
|
"-DPYTHON_EXECUTABLE=${CURRENT_INSTALLED_DIR}/tools/python3/python${VCPKG_EXECUTABLE_SUFFIX}"
|
2018-06-10 22:26:25 +08:00
|
|
|
)
|
|
|
|
|
2022-03-15 01:25:04 +08:00
|
|
|
vcpkg_cmake_install()
|
2023-07-11 01:52:11 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
2018-06-10 22:26:25 +08:00
|
|
|
|
2022-03-15 01:25:04 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
2023-07-11 01:52:11 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|