Added
Link Here
|
1 |
--- urdf_parser/CMakeLists.txt.orig 2018-11-14 01:51:13 UTC |
2 |
+++ urdf_parser/CMakeLists.txt |
3 |
@@ -25,17 +25,19 @@ add_executable(urdf_to_graphiz src/urdf_ |
4 |
target_link_libraries(urdf_to_graphiz urdfdom_model) |
5 |
|
6 |
# urdf_mem_test is a binary for testing, not a unit test |
7 |
-add_executable(urdf_mem_test test/memtest.cpp) |
8 |
-target_link_libraries(urdf_mem_test urdfdom_model) |
9 |
+if (BUILD_TESTING) |
10 |
+ add_executable(urdf_mem_test test/memtest.cpp) |
11 |
+ target_link_libraries(urdf_mem_test urdfdom_model) |
12 |
+endif() |
13 |
|
14 |
-include(CTest) |
15 |
if(BUILD_TESTING) |
16 |
+ include(CTest) |
17 |
add_subdirectory(test) |
18 |
endif() |
19 |
|
20 |
INSTALL(TARGETS urdfdom_model DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
21 |
INSTALL(TARGETS urdfdom_world DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
22 |
-INSTALL(TARGETS check_urdf urdf_to_graphiz urdf_mem_test |
23 |
+INSTALL(TARGETS check_urdf urdf_to_graphiz |
24 |
DESTINATION ${CMAKE_INSTALL_BINDIR}) |
25 |
INSTALL(TARGETS urdfdom_sensor DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
26 |
INSTALL(TARGETS urdfdom_model_state DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
0 |
Update the ros-urdfdom_headers to match what yuri had. |
27 |
Update the ros-urdfdom_headers to match what yuri had. |
1 |
|
28 |
|
2 |
It is noarch, so that seems correct. |
29 |
It is noarch, so that seems correct. |