Skip to content

Commit

Permalink
Merge pull request #29 from jmachowinski/master
Browse files Browse the repository at this point in the history
fixed linker error with boost::filesystem
  • Loading branch information
planthaber authored Jan 24, 2018
2 parents 085a531 + 1027b6d commit a6ea2a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Generated from orogen/lib/orogen/templates/tasks/CMakeLists.txt
find_package( Boost COMPONENTS filesystem)

include(marsTaskLib)
ADD_LIBRARY(${MARS_TASKLIB_NAME} SHARED
Expand All @@ -8,6 +9,7 @@ add_dependencies(${MARS_TASKLIB_NAME}

TARGET_LINK_LIBRARIES(${MARS_TASKLIB_NAME}
${OrocosRTT_LIBRARIES}
${Boost_FILESYSTEM_LIBRARY}
${MARS_TASKLIB_DEPENDENT_LIBRARIES})
SET_TARGET_PROPERTIES(${MARS_TASKLIB_NAME}
PROPERTIES LINK_INTERFACE_LIBRARIES "${MARS_TASKLIB_INTERFACE_LIBRARIES}")
Expand Down

0 comments on commit a6ea2a4

Please sign in to comment.