Skip to content

Commit

Permalink
Add missing build dependency for Python wrapper
Browse files Browse the repository at this point in the history
Change-Id: Ib93a329d3ea4bec252c006bd2e3f47ffaf646715
  • Loading branch information
ev-mp committed Nov 27, 2018
1 parent df0b2cb commit 450b990
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wrappers/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ else() # Some other windows version
endif()

pybind11_add_module(pybackend2 SHARED ${RAW_RS_CPP} ${RAW_RS_HPP})
if(USE_EXTERNAL_USB)
add_dependencies(pybackend2 libusb)
endif()
target_link_libraries(pybackend2 PRIVATE ${LIBUSB1_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
set_target_properties(pybackend2 PROPERTIES
VERSION ${REALSENSE_VERSION_STRING}
Expand Down

0 comments on commit 450b990

Please sign in to comment.