Unverified Commit 5a4f363f authored by Florent Lamiraux's avatar Florent Lamiraux Committed by GitHub
Browse files

Merge pull request #153 from nim65s/devel

[CMake] publicize qpoases compile definition
parents c7688745 8257dc35
......@@ -151,6 +151,7 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} PUBLIC hpp-pinocchio::hpp-pinocchio)
IF(USE_QPOASES)
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} PUBLIC ${qpOASES_INCLUDE_DIRS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PUBLIC ${qpOASES_LIBRARIES})
TARGET_COMPILE_DEFINITIONS(${PROJECT_NAME} PUBLIC -DHPP_CONSTRAINTS_USE_QPOASES)
ENDIF(USE_QPOASES)
INSTALL(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME} DESTINATION lib)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment