Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
planning
ThirdParty
osqp-eigen
Commits
db75a185
Commit
db75a185
authored
4 years ago
by
Giulio Romualdi
Browse files
Options
Download
Email Patches
Plain Diff
Move the definition of the dependencies in a separate file
parent
147c69e2
master
v0.7.0
v0.6.4
v0.6.3
v0.6.2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/OsqpEigenDependencies.cmake
+21
-0
cmake/OsqpEigenDependencies.cmake
cmake/OsqpEigenFindOptionalDependencies.cmake
+1
-9
cmake/OsqpEigenFindOptionalDependencies.cmake
with
22 additions
and
9 deletions
+22
-9
cmake/OsqpEigenDependencies.cmake
0 → 100644
+
21
-
0
View file @
db75a185
# Copyright (C) 2019 Istituto Italiano di Tecnologia (IIT). All rights reserved.
# This software may be modified and distributed under the terms of the
# GNU Lesser General Public License v2.1 or any later version.
#
# This software may be modified and distributed under the terms of the
# BSD-3-Clause license. See the accompanying LICENSE file for details.
include
(
OsqpEigenFindOptionalDependencies
)
#---------------------------------------------
## Required Dependencies
find_package
(
Eigen3 3.2.92 REQUIRED
)
find_package
(
osqp REQUIRED
)
#---------------------------------------------
## Optional Dependencies
find_package
(
Catch2 QUIET
)
checkandset_optional_dependency
(
Catch2
)
find_package
(
VALGRIND QUIET
)
checkandset_optional_dependency
(
VALGRIND
)
This diff is collapsed.
Click to expand it.
cmake/OsqpEigenFindDependencies.cmake
→
cmake/OsqpEigenFind
Optional
Dependencies.cmake
+
1
-
9
View file @
db75a185
...
...
@@ -30,7 +30,7 @@
include
(
CMakeDependentOption
)
# Check if a package is installed and set some cmake variables
macro
(
checkandset_dependency package
)
macro
(
checkandset_
optional_
dependency package
)
set
(
PREFIX
"OSQPEIGEN"
)
...
...
@@ -113,11 +113,3 @@ macro(OSQPEIGEN_DEPENDENT_OPTION _option _doc _default _deps _force)
endif
()
endmacro
()
################################################################################
# Find all packages
find_package
(
Eigen3 3.2.92 REQUIRED
)
find_package
(
osqp REQUIRED
)
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets