File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,11 @@ set(PCLCONFIG_SSE_COMPILE_OPTIONS ${SSE_FLAGS})
16
16
17
17
foreach (_ss ${PCL_SUBSYSTEMS_MODULES} )
18
18
PCL_GET_SUBSYS_STATUS (_status ${_ss} )
19
- if (_status )
19
+
20
+ # do not include test targets
21
+ string (REGEX MATCH "^tests_" _is_test ${_ss} )
22
+
23
+ if (_status AND NOT _is_test )
20
24
set (PCLCONFIG_AVAILABLE_COMPONENTS "${PCLCONFIG_AVAILABLE_COMPONENTS} ${_ss} " )
21
25
set (PCLCONFIG_AVAILABLE_COMPONENTS_LIST "${PCLCONFIG_AVAILABLE_COMPONENTS_LIST} \n # - ${_ss} " )
22
26
GET_IN_MAP (_deps PCL_SUBSYS_DEPS ${_ss} )
@@ -68,7 +72,7 @@ foreach(_ss ${PCL_SUBSYSTEMS_MODULES})
68
72
endif (_sub_status )
69
73
endforeach (_sub )
70
74
endif (${PCL_SUBSYS_SUBSYS} )
71
- endif (_status )
75
+ endif ()
72
76
endforeach (_ss )
73
77
74
78
#Boost modules
You can’t perform that action at this time.
0 commit comments