Skip to content

Commit

Permalink
Review linked libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed May 15, 2019
1 parent 8f3a559 commit 4fe827f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libraries/YarpTinyMathLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ if(ENABLE_YarpTinyMathLib)

set_target_properties(YarpTinyMathLib PROPERTIES PUBLIC_HEADER YarpTinyMath.hpp)

target_link_libraries(YarpTinyMathLib YARP::YARP_sig
YARP::YARP_math)
target_link_libraries(YarpTinyMathLib PUBLIC YARP::YARP_sig
PRIVATE YARP::YARP_math)

target_include_directories(YarpTinyMathLib PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
Expand Down
2 changes: 2 additions & 0 deletions libraries/YarpTinyMathLib/YarpTinyMath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include "YarpTinyMath.hpp"

#include <yarp/math/Math.h> // provides: eye, operators

// ----------------------------------------------------------------------------

double roboticslab::toDeg(const double inRad)
Expand Down
2 changes: 0 additions & 2 deletions libraries/YarpTinyMathLib/YarpTinyMath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include <yarp/sig/Vector.h>
#include <yarp/sig/Matrix.h>

#include <yarp/math/Math.h> // provides: eye, operators

namespace roboticslab
{

Expand Down

0 comments on commit 4fe827f

Please sign in to comment.