Skip to content
Snippets Groups Projects
Verified Commit d49190aa authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: sync submodule

parent cb2c967d
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,9 @@ SET(PROJECT_URL https://github.com/${PROJECT_ORG}/${PROJECT_NAME})
OPTION(BUILD_PYTHON_INTERFACE "Build the python unit tests and helpers" ON)
OPTION(INSTALL_PYTHON_INTERFACE_ONLY "Install *ONLY* the python interface" OFF)
MESSAGE(STATUS "python: ${PYTHON_SITELIB}")
#STRING(REPLACE "\\" "/" TEST ${PYTHON_SITELIB})
#MESSAGE(STATUS "python: ${TEST}")
# Project configuration
IF(NOT INSTALL_PYTHON_INTERFACE_ONLY)
SET(PROJECT_USE_CMAKE_EXPORT TRUE)
......@@ -31,8 +34,8 @@ COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
IF(BUILD_PYTHON_INTERFACE)
ADD_PROJECT_DEPENDENCY(pinocchio)
FINDPYTHON()
ADD_PROJECT_DEPENDENCY(pinocchio)
STRING(REGEX REPLACE "-" "_" PY_NAME ${PROJECT_NAME})
ADD_SUBDIRECTORY(python)
IF(BUILD_TESTING)
......
Subproject commit d12c55e1ef66017d9fbb8818c45ae79d4a374737
Subproject commit d63b949baa72cae06bad7497d3fcb35a9c7e124c
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