Skip to content
Snippets Groups Projects
Commit ff9546f3 authored by armar-user's avatar armar-user
Browse files

(Many) Fix -lcaffe not being found with new Caffe + OpenPose setup (will be...

(Many) Fix -lcaffe not being found with new Caffe + OpenPose setup (will be rolled out via Axii soon)

Signed-off-by: armar-user <armar-user>
parent 2fa720e5
Branches demo-armar6-r3
No related tags found
No related merge requests found
......@@ -68,7 +68,9 @@ endif ()
if (OpenPose_FOUND)
target_include_directories(MonocularOpenPoseEstimation SYSTEM PUBLIC ${OpenPose_INCLUDE_DIRS})
if ($ENV{OpenPose_Caffe_DIR})
target_link_directories(MonocularOpenPoseEstimation PUBLIC "$ENV{OpenPose_Caffe_DIR}/build/lib")
endif()
# Setting dir of openpose-models to use it in header
get_filename_component(OP_MODELS_ABSOLUTE "${OpenPose_INCLUDE_DIRS}/../" REALPATH)
message(STATUS "OpenPose model path: ${OP_MODELS_ABSOLUTE}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment