Gepetto / example-robot-data

Set of robot URDFs for benchmarking and developed examples.
BSD 3-Clause "New" or "Revised" License
152 stars 56 forks source link

Cmake configuration probably incorrect #218

Closed mattephi closed 5 months ago

mattephi commented 5 months ago

I am building example-robot-data against conda environment. I have specified CMAKE_INSTALL_PREFIX as a $CONDA_PREFIX. As well as CMAKE_PREFIX_PATH.

Expected behaviour: cmake .. && make && make -j4 install installs in the environment

Actual behaviour: Make appends /usr/local resulting in wrong hierarchy.

OS: Asahi Linux Fedora 40

mattephi commented 5 months ago

As a workaround, I have removed lines which append the path inside cmake_install, now crocoddyl successfully finds this dependency

mattephi commented 5 months ago

Ok, most probably I was wrong. I was using CMAKE_INSTALL_PREFIX as env variable instead of defined variable of cmake, now it seems to work properly