diff options
Diffstat (limited to 'meta-efl/recipes-efl/webkit/webkit-efl/0006-OptionsEfl.cmake-Fix-build-with-newer-CMake-3.4.patch')
-rw-r--r-- | meta-efl/recipes-efl/webkit/webkit-efl/0006-OptionsEfl.cmake-Fix-build-with-newer-CMake-3.4.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0006-OptionsEfl.cmake-Fix-build-with-newer-CMake-3.4.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0006-OptionsEfl.cmake-Fix-build-with-newer-CMake-3.4.patch new file mode 100644 index 000000000..05626349b --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl/0006-OptionsEfl.cmake-Fix-build-with-newer-CMake-3.4.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 993882f81fe991b8baf1099392703337cc13fac0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 27 Jan 2016 18:40:23 +0100 | ||
4 | Subject: [PATCH] OptionsEfl.cmake: Fix build with newer CMake 3.4 | ||
5 | |||
6 | * otherwise it fails with: | ||
7 | | CMake Error at Source/cmake/OptionsEfl.cmake:251 (CHECK_INCLUDE_FILES): | ||
8 | | Unknown CMake command "CHECK_INCLUDE_FILES". | ||
9 | * https://bugs.webkit.org/show_bug.cgi?id=150117 | ||
10 | |||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | ||
13 | Source/cmake/OptionsEfl.cmake | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/Source/cmake/OptionsEfl.cmake b/Source/cmake/OptionsEfl.cmake | ||
17 | index 1aa9002..05216d0 100644 | ||
18 | --- a/Source/cmake/OptionsEfl.cmake | ||
19 | +++ b/Source/cmake/OptionsEfl.cmake | ||
20 | @@ -253,6 +253,7 @@ if (ENABLE_WEBGL OR WTF_USE_TILED_BACKING_STORE) | ||
21 | set(WTF_USE_EGL 1) | ||
22 | add_definitions(-DWTF_USE_EGL=1) | ||
23 | else () | ||
24 | + include(CheckIncludeFiles) | ||
25 | CHECK_INCLUDE_FILES("GL/glx.h" OPENGLX_FOUND) | ||
26 | add_definitions(-DWTF_USE_GLX=1) | ||
27 | endif () | ||
28 | -- | ||
29 | 2.7.0 | ||
30 | |||