Skip to content

Commit

Permalink
Add nlopt submodule. (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
akleeman authored Mar 11, 2021
1 parent 8f94feb commit fd1b3da
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@
[submodule "third_party/variant"]
path = third_party/variant
url = https://github.com/swift-nav/variant.git
[submodule "third_party/nlopt"]
path = third_party/nlopt
url = https://github.com/swift-nav/nlopt.git
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ matrix:
- clang-6.0
- clang-format-6.0
- clang-tidy-6.0
- libnlopt-dev
env:
- C_COMPILER=gcc-6 CXX_COMPILER=g++-6
- compiler: clang-6.0
Expand All @@ -46,7 +45,6 @@ matrix:
- clang-6.0
- clang-format-6.0
- clang-tidy-6.0
- libnlopt-dev
env:
- C_COMPILER=clang-6.0 CXX_COMPILER=clang++-6.0
- compiler: sphinx
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ find_package(Eigen REQUIRED)
find_package(FastCSV REQUIRED)
find_package(Gzip-Hpp REQUIRED)
find_package(Variant REQUIRED)
find_package(Nlopt REQUIRED)

add_library(albatross INTERFACE)
target_include_directories(albatross INTERFACE
Expand Down
1 change: 1 addition & 0 deletions tests/test_tune.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "test_models.h"
#include <albatross/Tune>
#include <gtest/gtest.h>
#include <nlopt.hpp>

namespace albatross {

Expand Down
1 change: 1 addition & 0 deletions third_party/nlopt
Submodule nlopt added at 5351d0

0 comments on commit fd1b3da

Please sign in to comment.