list(FIND PCL_LIBRARIES vtkGUISupportQt value) IF(value EQUAL -1) SET(PCL_LIBRARIES "${PCL_LIBRARIES};vtkGUISupportQt") ENDIF(value EQUAL -1)