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

Tapani Pälli tapani.palli at intel.com
Sun Jan 4 23:36:11 PST 2015


v2: remove redudant parenthesis (Chad)

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..c700a72 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)
     add_executable(simple-x11-egl simple-x11-egl.c)
     target_link_libraries(simple-x11-egl ${waffle_libname})
 endif()
-- 
1.9.3



More information about the waffle mailing list