Skip to content
Snippets Groups Projects
Commit 6cf040c7 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[wip/py-mpc-interface] require python 3 & add patch-aa

parent a19d399f
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,10 @@
ORG= gepetto
NAME= mpc-interface
VERSION= 1.0.0
PKGREVISION= 1
USE_PYTHON= true
DEPEND_ABI.python= python>=3.6
CATEGORIES= wip
COMMENT= A fast and flexible formulation of QP Probl
......
SHA1 (mpc-interface-1.0.0.tar.gz) = 9d872a2ee2b27a769c9809d21542b6682bc9bc55
RMD160 (mpc-interface-1.0.0.tar.gz) = 060b9eb94cf9e8718b69d2c497708640244d982a
Size (mpc-interface-1.0.0.tar.gz) = 843336 bytes
SHA1 (patch-aa) = c94defe7bf6637a6314ea036bd0a44abfc24bca6
fix build on Rocky 8
--- cpp/CMakeLists.txt.orig 2022-08-10 22:59:29.000000000 +0200
+++ cpp/CMakeLists.txt 2022-08-11 09:22:29.389031550 +0200
@@ -8,7 +8,14 @@
# Create library
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_HEADERS}
${${PROJECT_NAME}_SOURCES})
-target_link_libraries(${PROJECT_NAME} PUBLIC Eigen3::Eigen)
+modernize_target_link_libraries(
+ ${PROJECT_NAME}
+ SCOPE
+ PUBLIC
+ TARGETS
+ Eigen3::Eigen
+ INCLUDE_DIRS
+ ${EIGEN3_INCLUDE_DIR})
target_include_directories(
${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment