aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorras0219 <robertallenschumacher@gmail.com>2020-06-09 11:39:17 -0700
committerGitHub <noreply@github.com>2020-06-09 11:39:17 -0700
commit09abe700ac72d8d163181d6eb7797895834d5ca8 (patch)
treeab86075bf0d40b2bda22f2c62c331f63287b98f8 /ports
parent1d3e985e4f1b0d52adf1a8eba7a4c0a092938cfb (diff)
downloadvcpkg-09abe700ac72d8d163181d6eb7797895834d5ca8.tar.gz
vcpkg-09abe700ac72d8d163181d6eb7797895834d5ca8.zip
[mlpack] Explicitly depend on stb (#11785)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/mlpack/CONTROL4
-rw-r--r--ports/mlpack/portfile.cmake4
2 files changed, 6 insertions, 2 deletions
diff --git a/ports/mlpack/CONTROL b/ports/mlpack/CONTROL
index dc4f41b62..dfccb9025 100644
--- a/ports/mlpack/CONTROL
+++ b/ports/mlpack/CONTROL
@@ -1,8 +1,8 @@
Source: mlpack
-Version: 3.2.2-2
+Version: 3.2.2-3
Homepage: https://github.com/mlpack/mlpack
Description: mlpack is a fast, flexible machine learning library, written in C++, that aims to provide fast, extensible implementations of cutting-edge machine learning algorithms.
-Build-Depends: openblas (!osx), clapack (!osx), boost, armadillo, ensmallen
+Build-Depends: openblas (!osx), clapack (!osx), boost, armadillo, ensmallen, stb
Feature: tools
Description: Build command-line executables.
diff --git a/ports/mlpack/portfile.cmake b/ports/mlpack/portfile.cmake
index 53f5967c3..a7d73b2e3 100644
--- a/ports/mlpack/portfile.cmake
+++ b/ports/mlpack/portfile.cmake
@@ -28,6 +28,10 @@ vcpkg_configure_cmake(
PREFER_NINJA
OPTIONS
-DBUILD_TESTS=OFF
+ -DDOWNLOAD_STB_IMAGE=OFF
+ -DDOWNLOAD_ENSMALLEN=OFF
+ -DBUILD_PYTHON_BINDINGS=OFF
+ -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
${FEATURE_OPTIONS}
)
vcpkg_install_cmake()