Changeset 166702 in webkit
- Timestamp:
- Apr 3, 2014 12:27:58 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r166648 r166702 1 2014-04-02 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> 2 3 [GTK][CMake] Look for glx.h in OPENGL_INCLUDE_DIR. 4 https://bugs.webkit.org/show_bug.cgi?id=131095 5 6 Reviewed by Martin Robinson. 7 8 One needs to take into account OpenGL's include directory found via 9 find_package() when looking for glx.h, since if the former is a 10 non-standard location the latter will also be. If this is not it is 11 possible that OpenGL is found but GLX support is not properly detected. 12 13 * Source/cmake/OptionsGTK.cmake: 14 1 15 2014-04-02 Martin Robinson <mrobinson@igalia.com> 2 16 -
trunk/Source/cmake/OptionsGTK.cmake
r166501 r166702 223 223 endif () 224 224 225 find_package(OpenGL) 226 227 # This part can be simplified once CMake 2.8.6 is required and 228 # CMakePushCheckState can be used. We need to have OPENGL_INCLUDE_DIR as part 229 # of the directories check_include_files() looks for in case OpenGL is 230 # installed into a non-standard location. 231 set(REQUIRED_INCLUDES_OLD ${CMAKE_REQUIRED_INCLUDES}) 232 set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${OPENGL_INCLUDE_DIR}) 225 233 # We don't use find_package for GLX because it is part of -lGL, unlike EGL. 226 find_package(OpenGL)227 234 check_include_files("GL/glx.h" GLX_FOUND) 235 set(CMAKE_REQUIRED_INCLUDES ${REQUIRED_INCLUDES_OLD}) 236 228 237 find_package(EGL) 229 230 238 if (EGL_FOUND) 231 239 set(WTF_USE_EGL 1)
Note: See TracChangeset
for help on using the changeset viewer.