Skip to content

Commit

Permalink
"fix"
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed Sep 28, 2018
1 parent 8580876 commit 1f1c5ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/pcl_pclconfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ foreach(_ss ${PCL_SUBSYSTEMS_MODULES})
PCL_GET_SUBSYS_STATUS(_status ${_ss})

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

if(_status AND _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

0 comments on commit 1f1c5ca

Please sign in to comment.