Skip to content

Commit 6b06f3b

Browse files
Fix packaging problems to use the code somehere else.
1 parent bf4f935 commit 6b06f3b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ ADD_SUBDIRECTORY(examples)
4343

4444
# Generate dependency to ddp-actuator-solver-examples in pc file
4545
PKG_CONFIG_APPEND_LIBS(ddp-actuator-solver-examples)
46+
PKG_CONFIG_APPEND_LIBS(${qpOASES_LIBRARIES})
4647

4748
SETUP_PROJECT_FINALIZE()

examples/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ SET(header_files
3030
)
3131

3232
ADD_LIBRARY(${PROJECT_NAME}-examples SHARED ${source_files})
33+
TARGET_LINK_LIBRARIES(${PROJECT_NAME}-examples ${qpOASES_LIBRARIES})
3334

3435
PKG_CONFIG_USE_DEPENDENCY(${PROJECT_NAME}-examples eigen3)
3536

0 commit comments

Comments
 (0)