cmake: sync submodule

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