Changeset 166501 in webkit
- Timestamp:
- Mar 31, 2014 7:44:32 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r166500 r166501 1 2014-03-31 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> 2 3 [CMake][GTK] Do not expand variables twice in if() checks. 4 https://bugs.webkit.org/show_bug.cgi?id=130964 5 6 Reviewed by Martin Robinson. 7 8 In CMake, `if (${foo})' causes $foo to be evaluated first and its value 9 to be checked by the if clause. This is not what we want, and 10 configuration fails when, say, GLX support wasn't found as the if 11 clause is actually evaluated as `if (TRUE AND (OR TRUE))'. 12 13 * Source/cmake/OptionsGTK.cmake: Pass if (FOO) instead of if (${FOO}) 14 where necessary. 15 1 16 2014-03-31 Martin Robinson <mrobinson@igalia.com> 2 17 -
trunk/Source/cmake/OptionsGTK.cmake
r166499 r166501 236 236 endif () 237 237 238 if ( ${OPENGL_FOUND} AND (${GLX_FOUND} OR ${EGL_FOUND}))238 if (OPENGL_FOUND AND (GLX_FOUND OR EGL_FOUND)) 239 239 set(ENABLE_WEBGL 1) 240 240 set(ENABLE_TEXTURE_MAPPER 1) … … 248 248 add_definitions(-DENABLE_3D_RENDERING=1) 249 249 250 if ( ${EGL_FOUND})250 if (EGL_FOUND) 251 251 add_definitions(-DWTF_USE_EGL=1) 252 252 endif () 253 253 254 if ( ${GLX_FOUND})254 if (GLX_FOUND) 255 255 add_definitions(-DWTF_USE_GLX=1) 256 256 endif ()
Note: See TracChangeset
for help on using the changeset viewer.