File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
22
33INCLUDE (cmake/base.cmake)
44INCLUDE (cmake/eigen.cmake)
5- INCLUDE (private_cmake/FindqpOASES.cmake)
6-
7- # Stop if qpOASES is not here
8- IF (NOT qpOASES_FOUND)
9- MESSAGE (ERROR " qpOASES not found. Please install it (using robotpkg for instance)" )
10- ENDIF ()
115
126# Compiles despite warnings
137SET (CXX_DISABLE_WERROR True )
@@ -21,11 +15,11 @@ SET(PROJECT_URL "https://github.com/stack-of-tasks/ddp-actuator-solver")
2115
2216SETUP_PROJECT()
2317
18+ ADD_REQUIRED_DEPENDENCY("qpOASES" )
2419# Add eigen3 as another needed dependency
2520ADD_REQUIRED_DEPENDENCY("eigen3 >= 3.0.5" )
2621
2722INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR} /include )
28- INCLUDE_DIRECTORIES (${qpOASES_INCLUDEDIR} )
2923
3024# Set the headers to be installed
3125SET (${PROJECT_NAME} _HEADERS
@@ -43,6 +37,5 @@ ADD_SUBDIRECTORY(examples)
4337
4438# Generate dependency to ddp-actuator-solver-examples in pc file
4539PKG_CONFIG_APPEND_LIBS(ddp-actuator-solver-examples)
46- PKG_CONFIG_APPEND_LIBS(${qpOASES_LIBRARIES} )
4740
4841SETUP_PROJECT_FINALIZE()
You can’t perform that action at this time.
0 commit comments