CMakeLists Thirdparty overrides

asked 2017-10-08 12:46:49 -0500

rnunziata gravatar image

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.

ADD_SUBDIRECTORY(${PROJECT_SOURCE_DIR}/thirdparty/Sophus)

and

find_package(Sophus NO_DEFAULT_PATH REQUIRED PATHS ${PROJECT_SOURCE_DIR}/thirdparty/Sophus)

edit retag flag offensive close merge delete