View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006976CMakeModulespublic2008-05-07 04:352012-02-16 03:43
ReporterChristian Ehrlicher 
Assigned ToAlex Neundorf 
PrioritynormalSeveritytrivialReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0006976: Xxf86vm is not searched in FindX11.cmake
DescriptionI'm missing X11_Xxf86vm_LIB in FindX11.cmake - it's looking for a lot of other X11 libs but this is missing. Maybe you can add this one too.

Thx
TagsNo tags attached.
Attached Filespatch file icon FindX11.cmake.patch [^] (1,943 bytes) 2008-05-21 03:57 [Show Content]

 Relationships

  Notes
(0011970)
Bill Hoffman (manager)
2008-05-16 10:14

Can you provide a patch that works for you?
(0012033)
Christian Ehrlicher (reporter)
2008-05-21 03:57

Here a patch - I hope I'm correct that Xxf86vm is the lib to X11/extensions/xf86vmode.h (corresponding to Xxf86misc and X11/extensions/xf86misc.h)
(0028589)
Beuc (reporter)
2012-02-14 17:01
edited on: 2012-02-14 17:02

The FreeGLUT project is switching to CMake, and it's affected by this issue.

The patch works for me - is there a problem with the patch for you?

Currently I have to work-around with:

        # Work-around http://www.cmake.org/Bug/bug_view_page.php?bug_id=6976 [^]
        IF(NOT "${X11_Xxf86vm_LIB}")
            SET(X11_Xxf86vm_LIB "Xxf86vm")
        ENDIF()

(0028603)
Alex Neundorf (developer)
2012-02-16 03:43

Patch applied, and merged into next.

This patch contains a change, which changes the behaviour a bit:
now X11_xf86vmode_FOUND is only set to TRUE and the include directory is added to X11_INCLUDE_DIR, if additionally to X11_xf86vmode_INCLUDE_PATH also X11_Xxf86vm_LIB has been found.
I hope this doesn't cause regressions somewhere.

 Issue History
Date Modified Username Field Change
2008-05-07 04:35 Christian Ehrlicher New Issue
2008-05-16 10:14 Bill Hoffman Note Added: 0011970
2008-05-16 10:14 Bill Hoffman Status new => assigned
2008-05-16 10:14 Bill Hoffman Assigned To => Bill Hoffman
2008-05-21 03:57 Christian Ehrlicher Note Added: 0012033
2008-05-21 03:57 Christian Ehrlicher File Added: FindX11.cmake.patch
2008-08-21 15:43 Bill Hoffman Assigned To Bill Hoffman => Alex Neundorf
2009-01-10 08:52 Alex Neundorf Category CMake => Modules
2012-02-14 17:01 Beuc Note Added: 0028589
2012-02-14 17:02 Beuc Note Edited: 0028589
2012-02-16 03:43 Alex Neundorf Note Added: 0028603
2012-02-16 03:43 Alex Neundorf Status assigned => closed
2012-02-16 03:43 Alex Neundorf Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team