Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions cmake/pcl_pclconfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ set(PCLCONFIG_SSE_COMPILE_OPTIONS ${SSE_FLAGS})

foreach(_ss ${PCL_SUBSYSTEMS_MODULES})
PCL_GET_SUBSYS_STATUS(_status ${_ss})
if(_status)

# do not include test targets
string(REGEX MATCH "^tests_" _is_test ${_ss})

if(_status AND NOT _is_test)
set(PCLCONFIG_AVAILABLE_COMPONENTS "${PCLCONFIG_AVAILABLE_COMPONENTS} ${_ss}")
set(PCLCONFIG_AVAILABLE_COMPONENTS_LIST "${PCLCONFIG_AVAILABLE_COMPONENTS_LIST}\n# - ${_ss}")
GET_IN_MAP(_deps PCL_SUBSYS_DEPS ${_ss})
Expand Down Expand Up @@ -68,7 +72,7 @@ foreach(_ss ${PCL_SUBSYSTEMS_MODULES})
endif (_sub_status)
endforeach(_sub)
endif (${PCL_SUBSYS_SUBSYS})
endif(_status)
endif()
endforeach(_ss)

#Boost modules
Expand Down