mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 22:00:27 +08:00
fa022fb0fb
* [tools]Add python64 bit. * [pybind11/shiva]Add version number. * [duktape]Fix build error using python64 bit. * [duktape]Fix python2 path. * [duktape]Fix duketape build: using python2 tools. * Change subdirs and archive names for PYTHON2 and PYTHON3 * [duktape] Update version info * [shiva] Add homepage * update baseline * update baseline Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
25 lines
818 B
CMake
25 lines
818 B
CMake
vcpkg_find_acquire_program(PYTHON2)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Milerius/shiva
|
|
REF 1.0
|
|
SHA512 d1ce33e89b17fa8f82e21b51dfa1308e38c617fea52c34a20b7b6c8643318280df24c043238ddd73ba2dbc139c5b5de1c2cb3add1f5629a54694c78b415d73d1
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DSHIVA_BUILD_TESTS=OFF
|
|
-DPYTHON_EXECUTABLE=${PYTHON2}
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/shiva)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
|
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/shiva)
|
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/shiva/LICENSE ${CURRENT_PACKAGES_DIR}/share/shiva/copyright)
|