Skip to content

Commit

Permalink
Fixed cmake dependency issue. #28
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushk committed Apr 19, 2016
1 parent 172628c commit 86df529
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions freenect_camera/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ target_link_libraries(freenect_node
${catkin_LIBRARIES}
${LIBFREENECT_LIBRARY}
${Boost_LIBRARY})
add_dependencies(freenect_node ${PROJECT_NAME}_gencfg)

add_library(freenect_nodelet src/nodelets/driver.cpp)
target_link_libraries(freenect_nodelet
${catkin_LIBRARIES}
${LIBFREENECT_LIBRARY}
${Boost_LIBRARY}
${LOG4CXX_LIBRARIES})
add_dependencies(freenect_nodelet ${PROJECT_NAME}_gencfg)

catkin_package(DEPENDS
libfreenect
Expand Down

0 comments on commit 86df529

Please sign in to comment.