[waffle] [PATCH v2 1/4] examples: add waffle_has_x11_egl check for simple-x11-egl
Tapani Pälli
tapani.palli at intel.com
Wed Dec 17 02:17:03 PST 2014
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))
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