-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from olivier-roussel/allow-external-qpOASES-2
[config] Allow external qpOASES dependency
- Loading branch information
Showing
21 changed files
with
381 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Find the qpOASES includes and libraries. | ||
# The following variables are set if qpOASES is found. If qpOASES is not | ||
# found, qpOASES_FOUND is set to false. | ||
# qpOASES_FOUND - True when the qpOASES include directory is found. | ||
# qpOASES_INCLUDE_DIRS - the path to where the qpOASES include files are. | ||
# qpOASES_LIBRARIES - The libraries to link against qpOASES | ||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
find_path(qpOASES_INCLUDE_DIR | ||
NAMES qpOASES.hpp | ||
PATH_SUFFIXES include | ||
) | ||
|
||
find_library(qpOASES_LIBRARY | ||
NAMES qpOASES | ||
PATH_SUFFIXES lib | ||
) | ||
|
||
set(qpOASES_INCLUDE_DIRS ${qpOASES_INCLUDE_DIR}) | ||
set(qpOASES_LIBRARIES ${qpOASES_LIBRARY}) | ||
|
||
find_package_handle_standard_args(qpOASES DEFAULT_MSG qpOASES_LIBRARIES qpOASES_INCLUDE_DIRS) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.