diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2015-01-05 09:36:11 +0200 |
---|---|---|
committer | Chad Versace <chad.versace@intel.com> | 2015-01-19 15:12:28 -0800 |
commit | aa726c24a5b8acf094b6ba6384ceff66456e3cd0 (patch) | |
tree | 843d2a81b3578dd6469a781c8283132023ab6504 | |
parent | 36e1ae064ffc1ca5254979464653db9d883ec19e (diff) |
examples: add waffle_has_x11_egl check for simple-x11-egl
v2: remove redudant parenthesis (Chad)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
-rw-r--r-- | examples/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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() |