aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangli28 <47812810+wangli28@users.noreply.github.com>2019-05-27 17:55:20 +0000
committerCurtis J Bezault <curtbezault@gmail.com>2019-05-27 10:55:20 -0700
commit62d0697f435cd2ecac5af31d5ea47f183df1d163 (patch)
treece055ddb7b8de4ed83a421713003de97e84c9059
parent9ffac4d56eed774419fbb628ea89417a6399db58 (diff)
downloadvcpkg-62d0697f435cd2ecac5af31d5ea47f183df1d163.tar.gz
vcpkg-62d0697f435cd2ecac5af31d5ea47f183df1d163.zip
[shiva] Fix build error "Could NOT find PythonInterp" (#6637)
-rw-r--r--ports/shiva/CONTROL2
-rw-r--r--ports/shiva/portfile.cmake6
2 files changed, 6 insertions, 2 deletions
diff --git a/ports/shiva/CONTROL b/ports/shiva/CONTROL
index ef9154a29..9a92c1518 100644
--- a/ports/shiva/CONTROL
+++ b/ports/shiva/CONTROL
@@ -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
diff --git a/ports/shiva/portfile.cmake b/ports/shiva/portfile.cmake
index 1f64fa220..372c318e0 100644
--- a/ports/shiva/portfile.cmake
+++ b/ports/shiva/portfile.cmake
@@ -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()