Skip to content

Commit

Permalink
cmake: only support Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Dec 23, 2024
1 parent 384af2a commit 713e2ee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,8 @@ if(BUILD_PYTHON_INTERFACE)
collision-with-point-clouds
append-urdf-model-with-another-model
simulation-contact-dynamics
talos-simulation)
if(PYTHON_VERSION_MAJOR EQUAL 3)
list(APPEND ${PROJECT_NAME}_PYTHON_EXAMPLES static-contact-dynamics)
endif()
talos-simulation
static-contact-dynamics)
endif()
endif()

Expand Down

0 comments on commit 713e2ee

Please sign in to comment.