RESOLVED FIXED 144613
[CMake] FindGTK3.cmake should not modify the values of build options
https://bugs.webkit.org/show_bug.cgi?id=144613
Summary [CMake] FindGTK3.cmake should not modify the values of build options
Michael Catanzaro
Reported 2015-05-04 18:03:28 PDT
FindGTK3.cmake touches both ENABLE_X11_TARGET and ENABLE_WAYLAND_TARGET currently. I didn't realize it was doing that (since it is just a find module and I didn't anticipate it having side effects). Anyway, that won't work as expected anymore since this code runs after the values of those settings have already gone into the FEATURE_DEFINES list, so you would wind up with e.g. ENABLE_X11_TARGET turned off for most of the build, but on in other places (like IDL files).
Attachments
[CMake] FindGTK3.cmake should not modify the values of build options (5.29 KB, patch)
2015-05-12 05:36 PDT, Michael Catanzaro
no flags
Patch (4.61 KB, patch)
2015-06-19 17:55 PDT, Michael Catanzaro
no flags
Patch (4.61 KB, patch)
2015-06-19 18:05 PDT, Michael Catanzaro
no flags
Martin Robinson
Comment 1 2015-05-04 18:34:38 PDT
Nice catch.
Michael Catanzaro
Comment 2 2015-05-12 05:36:01 PDT
Created attachment 252957 [details] [CMake] FindGTK3.cmake should not modify the values of build options
Michael Catanzaro
Comment 3 2015-06-19 17:36:29 PDT
I will land this without the dependency on the OS X patch.
Michael Catanzaro
Comment 4 2015-06-19 17:55:04 PDT
Michael Catanzaro
Comment 5 2015-06-19 18:04:35 PDT
Comment on attachment 255258 [details] Patch Typos
Michael Catanzaro
Comment 6 2015-06-19 18:05:41 PDT
WebKit Commit Bot
Comment 7 2015-06-19 19:09:50 PDT
The commit-queue encountered the following flaky tests while processing attachment 255261 [details]: transitions/default-timing-function.html bug 138901 (author: simon.fraser@apple.com) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 8 2015-06-19 19:09:53 PDT
The commit-queue encountered the following flaky tests while processing attachment 255261 [details]: The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 9 2015-06-19 19:41:53 PDT
Comment on attachment 255261 [details] Patch Clearing flags on attachment: 255261 Committed r185788: <http://trac.webkit.org/changeset/185788>
WebKit Commit Bot
Comment 10 2015-06-19 19:41:57 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.