mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-03 16:54:47 +00:00
Fix #208 linking against static libX11.a
This commit is contained in:
parent
81273e4c4a
commit
658fc3c1ad
1 changed files with 10 additions and 0 deletions
|
@ -67,6 +67,16 @@ IF(UNIX AND NOT APPLE)
|
|||
ADD_DEFINITIONS(-DHAVE_XCURSOR)
|
||||
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${X11_Xcursor_LIB})
|
||||
ENDIF(X11_Xcursor_FOUND)
|
||||
IF(X11_Xext_FOUND)
|
||||
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${X11_Xext_LIB})
|
||||
ENDIF(X11_Xext_FOUND)
|
||||
# libraries needed to be linked while linking to static X11 libraries
|
||||
FIND_LIBRARY(XCB_LIBRARY
|
||||
NAMES xcb
|
||||
HINTS ${X11_LIB_SEARCH_PATH})
|
||||
IF(XCB_LIBRARY)
|
||||
TARGET_LINK_LIBRARIES(${NLDRV_OGL_LIB} ${XCB_LIBRARY})
|
||||
ENDIF(XCB_LIBRARY)
|
||||
ENDIF(UNIX AND NOT APPLE)
|
||||
|
||||
IF(WITH_PCH)
|
||||
|
|
Loading…
Reference in a new issue