Skip to content

Commit a6ea2a4

Browse files
authored
Merge pull request #29 from jmachowinski/master
fixed linker error with boost::filesystem
2 parents 085a531 + 1027b6d commit a6ea2a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Generated from orogen/lib/orogen/templates/tasks/CMakeLists.txt
2+
find_package( Boost COMPONENTS filesystem)
23

34
include(marsTaskLib)
45
ADD_LIBRARY(${MARS_TASKLIB_NAME} SHARED
@@ -8,6 +9,7 @@ add_dependencies(${MARS_TASKLIB_NAME}
89

910
TARGET_LINK_LIBRARIES(${MARS_TASKLIB_NAME}
1011
${OrocosRTT_LIBRARIES}
12+
${Boost_FILESYSTEM_LIBRARY}
1113
${MARS_TASKLIB_DEPENDENT_LIBRARIES})
1214
SET_TARGET_PROPERTIES(${MARS_TASKLIB_NAME}
1315
PROPERTIES LINK_INTERFACE_LIBRARIES "${MARS_TASKLIB_INTERFACE_LIBRARIES}")

0 commit comments

Comments
 (0)