Commit 90e3ab8c authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] add extension to fix CMP0115

parent 1e7a6189
# Define the wrapper library that wraps our library
ADD_LIBRARY(${PY_NAME} SHARED centroidal_dynamics_python)
ADD_LIBRARY(${PY_NAME} SHARED centroidal_dynamics_python.cpp)
TARGET_LINK_LIBRARIES(${PY_NAME} ${PROJECT_NAME} eigenpy::eigenpy)
# don't prepend wrapper library name with lib
SET_TARGET_PROPERTIES(${PY_NAME} PROPERTIES PREFIX "")
......
Markdown is supported
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