Fix X86vmode library detection
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1083 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
deb9971814
commit
d0a550b30a
@ -102,7 +102,11 @@ if(UNIX)
|
||||
ENDIF()
|
||||
IF(X11_xf86vmode_FOUND)
|
||||
SET(HAVE_X11_EXTENSIONS_XF86VMODE_H TRUE)
|
||||
LIST(APPEND LIBS ${X11_xf86vmode_LIB})
|
||||
# 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()
|
||||
LIST(APPEND LIBS ${X11_Xxf86vm_LIB})
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
|
Reference in New Issue
Block a user