[waffle] [PATCH v2 1/4] examples: add waffle_has_x11_egl check for simple-x11-egl

Chad Versace chad.versace at intel.com
Wed Dec 17 12:22:10 PST 2014


On 12/17/2014 02:17 AM, Tapani Pälli wrote:
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
>  examples/CMakeLists.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
> index 281ef47..df66f60 100644
> --- a/examples/CMakeLists.txt
> +++ b/examples/CMakeLists.txt
> @@ -11,7 +11,7 @@ install(
>  # Target: simple-x11-egl (executable)
>  # ----------------------------------------------------------------------------
>  
> -if(waffle_on_linux)
> +if((waffle_on_linux) AND (waffle_has_x11_egl))

Please drop the parens around the conditions. It should be
if(waffle_on_linux AND waffle_has_x11_egl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/waffle/attachments/20141217/f2bcc350/attachment.sig>


More information about the waffle mailing list