aboutsummaryrefslogtreecommitdiff
path: root/ports/nlopt
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2019-06-19 04:34:43 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2019-06-18 13:34:43 -0700
commit1a63672f8fa796b044c839c777f7113ccea6e635 (patch)
tree3647ce538089d9a3a39f223c76aae0b0d7b6253a /ports/nlopt
parentbd5007625e2c44e4474361d9cba5e03fa6e5aab7 (diff)
downloadvcpkg-1a63672f8fa796b044c839c777f7113ccea6e635.tar.gz
vcpkg-1a63672f8fa796b044c839c777f7113ccea6e635.zip
[protobuf] Update to 3.8.0 (#6739)
* [protobuf] Update to 3.8.0 * [nlopt] set options off * [shogun] should not use CMAKE_SYSTEM_PROCESSOR in port file * [protobuf] Add Homepage * [protobuf] turn warning flag off * [protobuf] Fix orc build error on macOS * bump shogun, fix nlopt
Diffstat (limited to 'ports/nlopt')
-rw-r--r--ports/nlopt/CONTROL4
-rw-r--r--ports/nlopt/portfile.cmake7
2 files changed, 9 insertions, 2 deletions
diff --git a/ports/nlopt/CONTROL b/ports/nlopt/CONTROL
index 81a24bef7..0cc7666bb 100644
--- a/ports/nlopt/CONTROL
+++ b/ports/nlopt/CONTROL
@@ -1,4 +1,4 @@
Source: nlopt
-Version: 2.6.1
+Version: 2.6.1-1
Homepage: https://github.com/stevengj/nlopt
-Description: a library for nonlinear local and global optimization, for functions with and without gradient information.
+Description: a library for nonlinear local and global optimization, for functions with and without gradient information. \ No newline at end of file
diff --git a/ports/nlopt/portfile.cmake b/ports/nlopt/portfile.cmake
index 301c92e30..c5017f4f8 100644
--- a/ports/nlopt/portfile.cmake
+++ b/ports/nlopt/portfile.cmake
@@ -13,6 +13,13 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
+ OPTIONS
+ -DNLOPT_FORTRAN=OFF
+ -DNLOPT_PYTHON=OFF
+ -DNLOPT_OCTAVE=OFF
+ -DNLOPT_MATLAB=OFF
+ -DNLOPT_GUILE=OFF
+ -DNLOPT_SWIG=OFF
)
vcpkg_install_cmake()