Commit b2474ff2 authored by Ilija Radosavovic's avatar Ilija Radosavovic Committed by Facebook Github Bot

Specify caffe2 include directories in custom ops cmake

Reviewed By: rbgirshick

Differential Revision: D10857403

fbshipit-source-id: 5ea53ece3418e8f6dcb20df3d3521d661a7380a3
parent c003e5af
......@@ -34,6 +34,10 @@ add_library(
caffe2_detectron_custom_ops SHARED
${CUSTOM_OPS_CPU_SRCS})
target_include_directories(
caffe2_detectron_custom_ops PRIVATE
${CAFFE2_INCLUDE_DIRS})
target_link_libraries(caffe2_detectron_custom_ops caffe2_library)
install(TARGETS caffe2_detectron_custom_ops DESTINATION lib)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment