We will need to be able to make CMake aware of GTK4, while still keeping the possibility to use GTK3. We can go about this in two possible ways: - Add a new FindGTK4.cmake file - Modify FindGTK3.cmake to support both versions and rename it to FindGTK.cmake. While at it, we could make the find module provide an imported target to simplify the build definitions and make the build more robust.
Created attachment 395678 [details] Patch
Committed r259641: <https://trac.webkit.org/changeset/259641> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395678 [details].