diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-04-05 21:54:45 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-04-05 21:54:56 -0700 |
| commit | 2e354dd23357af7e0ec23798ee2448ee196a1eef (patch) | |
| tree | 4f810552ae4c89663417c93cb6862d9196c7f92b | |
| parent | 09c9d1b75db3182c2d9fcfd6e0c73175eea652ce (diff) | |
| download | vcpkg-2e354dd23357af7e0ec23798ee2448ee196a1eef.tar.gz vcpkg-2e354dd23357af7e0ec23798ee2448ee196a1eef.zip | |
[shogun] Require python3
| -rw-r--r-- | ports/shogun/portfile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/shogun/portfile.cmake b/ports/shogun/portfile.cmake index 4860c5f6b..e002ead4a 100644 --- a/ports/shogun/portfile.cmake +++ b/ports/shogun/portfile.cmake @@ -28,6 +28,10 @@ else() set(CMAKE_DISABLE_FIND_PACKAGE_BLAS 1) endif() +vcpkg_find_acquire_program(PYTHON3) +get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY) +set(ENV{PATH} "$ENV{PATH};${PYTHON3_DIR}") + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA |
