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
11
11
$< INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} > )
12
12
target_compile_features (tcb_span INTERFACE cxx_std_17 )
13
13
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
+ )
15
22
16
23
install (
17
24
TARGETS tcb_span
@@ -22,11 +29,5 @@ install(
22
29
INCLUDES DESTINATION include
23
30
)
24
31
25
- ament_export_include_directories (include )
26
32
ament_export_targets (export_tcb_span )
27
-
28
- if (BUILD_TESTING )
29
- add_subdirectory (test )
30
- endif ()
31
-
32
33
ament_package ()
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ target_include_directories(tl_expected INTERFACE
13
13
$< INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} > )
14
14
target_compile_features (tl_expected INTERFACE cxx_std_17 )
15
15
16
- install (DIRECTORY include / DESTINATION include / )
16
+ install (
17
+ DIRECTORY include /
18
+ DESTINATION include
19
+ )
17
20
18
21
install (
19
22
TARGETS tl_expected
@@ -24,7 +27,5 @@ install(
24
27
INCLUDES DESTINATION include
25
28
)
26
29
27
- ament_export_include_directories (include )
28
30
ament_export_targets (export_tl_expected )
29
-
30
31
ament_package ()
You can’t perform that action at this time.
0 commit comments