Attempt to fix including libxcb on debian.

Debian puts libxcb in some weird path...
This commit is contained in:
Forkk 2014-01-05 13:45:10 -06:00
parent becaebd60d
commit 51817962aa

View File

@ -3,7 +3,7 @@ function(gp_resolved_file_type_override resolved_file type_var)
if(resolved_file MATCHES "^/usr/lib/libQt")
message("resolving ${resolved_file} as other")
set(${type_var} other PARENT_SCOPE)
elseif(resolved_file MATCHES "^/usr/lib/libxcb")
elseif(resolved_file MATCHES "^/usr/lib(.+)?/libxcb")
message("resolving ${resolved_file} as other")
set(${type_var} other PARENT_SCOPE)
endif()