Robotics StackExchange | Archived questions

CMakeLists Thirdparty overrides

I've been trying to over ride the kinetic Sophus directory with a Sophus I have in a Thirdparty folder. What ever I do I the CMakeList keeps finding / using. Does anyone know how to do this?

/opt/ros/kinetic/include/sophus/rxso3.hpp

I have used the following but nothing works. I am using rosmake to build the project.

ADDSUBDIRECTORY(${PROJECTSOURCE_DIR}/thirdparty/Sophus)

and

findpackage(Sophus NODEFAULTPATH REQUIRED PATHS ${PROJECTSOURCE_DIR}/thirdparty/Sophus)

Asked by rnunziata on 2017-10-08 12:46:49 UTC

Comments

Answers