...
 
Commits (7)
......@@ -26,8 +26,8 @@ SET(PKG_CONFIG_ADDITIONAL_VARIABLES
plugindir
)
CMAKE_POLICY(SET CMP0048 OLD)
PROJECT(${PROJECT_NAME} CXX)
COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
# Search for dependencies.
ADD_REQUIRED_DEPENDENCY("pinocchio >= 2.0.0")
......
Subproject commit 63efaecd7c1fa3f9c190b5365561c38ea33f3236
Subproject commit 811bfc472940425a0a96cca7e01331f6cf68fced
......@@ -96,15 +96,7 @@ static PyMethodDef functions[] = {
#if PY_MAJOR_VERSION >= 3
static struct PyModuleDef SotDynamicPinocchioModuleDef = {
PyModuleDef_HEAD_INIT,
"wrap",
NULL,
0,
functions,
NULL,
NULL,
NULL,
NULL};
PyModuleDef_HEAD_INIT, "wrap", NULL, 0, functions, NULL, NULL, NULL, NULL};
#define INITERROR return NULL
#else
#define INITERROR return
......@@ -136,4 +128,3 @@ void initwrap(void)
#ifdef __cplusplus
} // extern "C"
#endif
......@@ -45,6 +45,9 @@ FOREACH(test ${tests})
PKG_CONFIG_USE_DEPENDENCY(${test} pinocchio)
PKG_CONFIG_USE_DEPENDENCY(${test} sot-core)
PKG_CONFIG_USE_DEPENDENCY(${test} dynamic-graph)
IF(BUILD_PYTHON_INTERFACE)
TARGET_LINK_LIBRARIES(${test} dynamic-graph-python)
ENDIF(BUILD_PYTHON_INTERFACE)
IF(${test}_plugins_dependencies)
ADD_DEPENDENCIES(${EXECUTABLE_NAME} "${${test}_plugins_dependencies}")
......