File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ include_directories(
5555)
5656
5757target_link_libraries (${PROJECT_NAME} _lib
58- PUBLIC
5958 ${catkin_LIBRARIES}
6059 Eigen3::Eigen
6160 ${PCL_LIBRARIES}
@@ -67,7 +66,6 @@ add_executable(${PROJECT_NAME}
6766)
6867
6968target_link_libraries (${PROJECT_NAME}
70- PRIVATE
7169 ${PROJECT_NAME} _lib
7270 ${catkin_LIBRARIES}
7371 Eigen3::Eigen
@@ -99,16 +97,11 @@ if(CATKIN_ENABLE_TESTING)
9997
10098 # catkin_add_gtest creates target bmm_test and links gtest
10199 catkin_add_gtest(bmm_test test /bmm_test.cpp)
102- if (TARGET bmm_test)
103- # Use the plain signature here because catkin_add_gtest used it internally
104- target_link_libraries (bmm_test
105- PRIVATE
106- ${PROJECT_NAME} _lib
107- ${catkin_LIBRARIES}
108- ${PCL_LIBRARIES}
109- GTest::GTest
110- GTest::Main
111- )
112- # No need to add include dirs: bmm_ros_lib exports them PUBLIC
113- endif ()
100+ target_link_libraries (bmm_test
101+ ${PROJECT_NAME} _lib
102+ ${catkin_LIBRARIES}
103+ ${PCL_LIBRARIES}
104+ GTest::GTest
105+ GTest::Main
106+ )
114107endif ()
You can’t perform that action at this time.
0 commit comments