Skip to content

Commit

Permalink
Declare specific boost depedencies (#22)
Browse files Browse the repository at this point in the history
* removed unnecessary libboost-math libraries as only headers-only parts are used

Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
  • Loading branch information
mikaelarguedas authored Nov 24, 2020
1 parent 6ec9ffd commit 83b682c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if(NOT CMAKE_CXX_STANDARD)
endif()

find_package(ament_cmake REQUIRED)
find_package(Boost REQUIRED date_time system thread)
find_package(Boost REQUIRED date_time random thread)

include_directories(include)

Expand Down
16 changes: 13 additions & 3 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,25 @@
The constructor of the wrapper is guaranteed to be thread safe and initialize its random number generator to a random seed.
Seeds are obtained using a separate and different random number generator.
</description>
<author email="isucan@willowgarage.edu">Ioan Sucan</author>
<maintainer email="anasarrak@erlerobotics.com">Anas M'chichou</maintainer>
<maintainer email="stevenragnarok@osrfoundation.org">Steven! Ragnarök</maintainer>
<license>BSD</license>
<url type="website">http://ros.org/wiki/random_numbers</url>
<author email="isucan@willowgarage.edu">Ioan Sucan</author>

<buildtool_depend>ament_cmake</buildtool_depend>
<build_depend>boost</build_depend>
<exec_depend>boost</exec_depend>
<build_depend>libboost-dev</build_depend>
<build_depend>libboost-date-time-dev</build_depend>
<build_depend>libboost-random-dev</build_depend>
<build_depend>libboost-thread-dev</build_depend>

<build_export_depend>libboost-dev</build_export_depend>
<build_export_depend>libboost-random-dev</build_export_depend>
<build_export_depend>libboost-thread-dev</build_export_depend>

<exec_depend>libboost-date-time</exec_depend>
<exec_depend>libboost-random</exec_depend>
<exec_depend>libboost-thread</exec_depend>
<export>
<build_type>ament_cmake</build_type>
</export>
Expand Down

0 comments on commit 83b682c

Please sign in to comment.