Skip to content

Commit

Permalink
Fix CMakeLists of continuous dynamics bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi committed Apr 5, 2023
1 parent 9f9348e commit dda0377
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions bindings/python/ContinuousDynamicalSystem/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Copyright (C) 2022 Istituto Italiano di Tecnologia (IIT). All rights reserved.
# This software may be modified and distributed under the terms of the
# BSD-3-Clause license.
if(FRAMEWORK_COMPILE_ContinuousDynamicalSystem)
set(H_PREFIX include/BipedalLocomotion/bindings/ContinuousDynamicalSystem)

set(H_PREFIX include/BipedalLocomotion/bindings/ContinuousDynamicalSystem)

add_bipedal_locomotion_python_module(
NAME ContinuousDynamicalSystemBindings
SOURCES src/MultiStateWeightProvider.cpp src/LinearTimeInvariantSystem.cpp src/FloatingBaseSystemKinematics.cpp src/Module.cpp
HEADERS ${H_PREFIX}/DynamicalSystem.h ${H_PREFIX}/LinearTimeInvariantSystem.h ${H_PREFIX}/FloatingBaseSystemKinematics.h ${H_PREFIX}/Integrator.h
${H_PREFIX}/MultiStateWeightProvider.h
${H_PREFIX}/Module.h
LINK_LIBRARIES BipedalLocomotion::ContinuousDynamicalSystem
TESTS tests/test_linear_system.py tests/test_floating_base_system_kinematics.py
)
add_bipedal_locomotion_python_module(
NAME ContinuousDynamicalSystemBindings
SOURCES src/MultiStateWeightProvider.cpp src/LinearTimeInvariantSystem.cpp src/FloatingBaseSystemKinematics.cpp src/Module.cpp
HEADERS ${H_PREFIX}/DynamicalSystem.h ${H_PREFIX}/LinearTimeInvariantSystem.h ${H_PREFIX}/FloatingBaseSystemKinematics.h ${H_PREFIX}/Integrator.h
${H_PREFIX}/MultiStateWeightProvider.h
${H_PREFIX}/Module.h
LINK_LIBRARIES BipedalLocomotion::ContinuousDynamicalSystem
TESTS tests/test_linear_system.py tests/test_floating_base_system_kinematics.py
)
endif()

0 comments on commit dda0377

Please sign in to comment.