File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,14 @@ target_include_directories(tcb_span INTERFACE
1111 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} >)
1212target_compile_features (tcb_span INTERFACE cxx_std_17)
1313
14- install (DIRECTORY include / DESTINATION include /)
14+ if (BUILD_TESTING)
15+ add_subdirectory (test )
16+ endif ()
17+
18+ install (
19+ DIRECTORY include /
20+ DESTINATION include
21+ )
1522
1623install (
1724 TARGETS tcb_span
@@ -22,11 +29,5 @@ install(
2229 INCLUDES DESTINATION include
2330)
2431
25- ament_export_include_directories(include )
2632ament_export_targets(export_tcb_span)
27-
28- if (BUILD_TESTING)
29- add_subdirectory (test )
30- endif ()
31-
3233ament_package()
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ target_include_directories(tl_expected INTERFACE
1313 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} >)
1414target_compile_features (tl_expected INTERFACE cxx_std_17)
1515
16- install (DIRECTORY include / DESTINATION include /)
16+ install (
17+ DIRECTORY include /
18+ DESTINATION include
19+ )
1720
1821install (
1922 TARGETS tl_expected
@@ -24,7 +27,5 @@ install(
2427 INCLUDES DESTINATION include
2528)
2629
27- ament_export_include_directories(include )
2830ament_export_targets(export_tl_expected)
29-
3031ament_package()
You can’t perform that action at this time.
0 commit comments