Skip to content

Commit

Permalink
[CMakeLists] fix links and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed May 24, 2023
1 parent 137d27e commit 9567468
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ add_library(${PROJECT_NAME}_utility_lib STATIC
src/Utility/Wavefront.cpp
)
target_link_libraries(${PROJECT_NAME}_utility_lib PUBLIC
${catkin_LIBRARIES})
${catkin_LIBRARIES}
${ontologenius_LIBRARIES})
set_target_properties(${PROJECT_NAME}_utility_lib PROPERTIES POSITION_INDEPENDENT_CODE ON)

add_library(${PROJECT_NAME}_bullet_lib STATIC
Expand Down Expand Up @@ -243,6 +244,7 @@ target_link_libraries(plugins ${catkin_LIBRARIES}

add_executable(teleop src/Nodes/teleop.cpp)
target_link_libraries(teleop ${catkin_LIBRARIES})
add_dependencies(teleop overworld_gencpp)

#################
# Test files #
Expand Down

0 comments on commit 9567468

Please sign in to comment.