Skip to content

Commit 1b3554d

Browse files
authored
Merge pull request #1369 from MaximilienNaveau/bugfix/mnaveau/python-build
Bugfix: Fix CMake error message during `python_build`
2 parents 3cd2a53 + 119bcb2 commit 1b3554d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## [Unreleased]
88

9+
* Fixed error message building crocoddyl.launch crocoddyl.rviz as Python files in https://github.com/loco-3d/crocoddyl/pull/1369
910
* Created Python bindings for (diff)-action getters in https://github.com/loco-3d/crocoddyl/pull/1362
1011
* Enabled casting and multi-scalar Python bindings in https://github.com/loco-3d/crocoddyl/pull/1346
1112
* Compute LU decomposition using permutationP in https://github.com/loco-3d/crocoddyl/pull/1351

bindings/python/crocoddyl/CMakeLists.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ file(GLOB_RECURSE ${PROJECT_NAME}_PYTHON_BINDINGS_HEADERS
33
file(GLOB_RECURSE ${PROJECT_NAME}_PYTHON_BINDINGS_SOURCES
44
${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
55

6-
set(${PROJECT_NAME}_PYTHON_BINDINGS_FILES __init__.py deprecated.py
7-
crocoddyl.launch crocoddyl.rviz)
6+
set(${PROJECT_NAME}_PYTHON_BINDINGS_FILES __init__.py deprecated.py)
87

98
set(PYWRAP "${PROJECT_NAME}_pywrap")
109
set(${PYWRAP}_INSTALL_DIR ${PYTHON_SITELIB}/${PROJECT_NAME})
@@ -46,6 +45,11 @@ foreach(python ${${PROJECT_NAME}_PYTHON_BINDINGS_FILES})
4645
FILES "${${PROJECT_NAME}_SOURCE_DIR}/bindings/python/crocoddyl/${python}"
4746
DESTINATION ${${PYWRAP}_INSTALL_DIR})
4847
endforeach(python ${${PROJECT_NAME}_PYTHON_BINDINGS_FILES})
48+
install(
49+
FILES
50+
"${${PROJECT_NAME}_SOURCE_DIR}/bindings/python/crocoddyl/crocoddyl.launch"
51+
"${${PROJECT_NAME}_SOURCE_DIR}/bindings/python/crocoddyl/crocoddyl.rviz"
52+
DESTINATION ${${PYWRAP}_INSTALL_DIR})
4953

5054
set(${PROJECT_NAME}_BINDINGS_UTILS_PYTHON_FILES __init__.py pendulum.py
5155
biped.py quadruped.py)

0 commit comments

Comments
 (0)