Bug 144823

Summary: [GTK] [CMake] Check for required X libraries
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Minor CC: commit-queue, mcatanzaro, mrobinson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch none

Description Michael Catanzaro 2015-05-08 18:06:36 PDT
I got this confusing error when trying to build without libXt installed:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
X11_Xt_LIB (ADVANCED)
    linked by target "WebCore" in directory /home/mcatanzaro/WebKit/Source/WebCore
    linked by target "WebCorePlatformGTK" in directory /home/mcatanzaro/WebKit/Source/WebCore
    linked by target "WebCorePlatformGTK2" in directory /home/mcatanzaro/WebKit/Source/WebCore

-- Configuring incomplete, errors occurred!

Let's give a better error.
Comment 1 Michael Catanzaro 2015-05-08 18:08:43 PDT
Created attachment 252759 [details]
Patch
Comment 2 WebKit Commit Bot 2015-05-08 20:27:47 PDT
Comment on attachment 252759 [details]
Patch

Clearing flags on attachment: 252759

Committed r184035: <http://trac.webkit.org/changeset/184035>
Comment 3 WebKit Commit Bot 2015-05-08 20:27:50 PDT
All reviewed patches have been landed.  Closing bug.