MantisBT - CMake
View Issue Details
0013006CMakeModulespublic2012-02-29 23:202012-03-20 16:29
Camilla Berglund 
Alex Neundorf 
normalminoralways
closedduplicate 
CMake 2.8.3 
 
0013006: FindX11.cmake does not expose xf86vidmode library path
The FindX11.cmake module exposes the X11_xf86vmode_FOUND and X11_xf86vmode_INCLUDE_PATH variables, but despite the VidMode extension having its own library (libXxf86vm) at least on modern X.org, there is no corresponding X11_Xxf86vmode_LIB variable.
1. Fail to find variable in the FindX11.cmake file.
No tags attached.
Issue History
2012-02-29 23:20Camilla BerglundNew Issue
2012-02-29 23:24Camilla BerglundNote Added: 0028767
2012-03-01 13:00Brad KingAssigned To => Alex Neundorf
2012-03-01 13:00Brad KingStatusnew => assigned
2012-03-01 15:08Alex NeundorfNote Added: 0028775
2012-03-01 15:30Camilla BerglundNote Added: 0028776
2012-03-20 16:29Alex NeundorfNote Added: 0028943
2012-03-20 16:29Alex NeundorfStatusassigned => closed
2012-03-20 16:29Alex NeundorfResolutionopen => duplicate

Notes
(0028767)
Camilla Berglund   
2012-02-29 23:24   
Forgot to mention that this isn't just completeness for the sake of it. This variable is necessary for the X11 port of GLFW 3 shared library to be able to link properly.
(0028775)
Alex Neundorf   
2012-03-01 15:08   
This is already fixed in cmake git master, as there was already a ticket for it: 0006976 .

You say that "having its own library (libXxf86vm) at least on modern X.org".
Does that mean on older X11 systems the header files may be present, but no library, and still everything is fine ?
In which library is this functionality then, libX11 ?
(0028776)
Camilla Berglund   
2012-03-01 15:30   
Ah, I didn't search thoroughly enough then. That's great news, though!

No, I just meant that my own experience is limited to X.org and that this is how it works there.
(0028943)
Alex Neundorf   
2012-03-20 16:29   
As mentioned, this is a duplicate of 0006976, which I already fixed.