[shiva] Fix build error "Could NOT find PythonInterp" (#6637)

This commit is contained in:
wangli28 2019-05-27 17:55:20 +00:00 committed by Curtis J Bezault
parent 9ffac4d56e
commit 62d0697f43
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Source: shiva
Version: 1.0
Version: 1.0-1
Description: Modern C++ Game Engine
Build-Depends: boost-stacktrace, boost-filesystem, boost-dll, entt, lua (windows), luafilesystem (windows), sol2, pybind11, spdlog, nlohmann-json

View File

@ -1,5 +1,7 @@
include(vcpkg_common_functions)
vcpkg_find_acquire_program(PYTHON2)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Milerius/shiva
@ -11,7 +13,9 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS -DSHIVA_BUILD_TESTS=OFF
OPTIONS
-DSHIVA_BUILD_TESTS=OFF
-DPYTHON_EXECUTABLE=${PYTHON2}
)
vcpkg_install_cmake()