Add X11 libraries. Neede for MacOS X build.
This commit is contained in:
parent
69fdca0abc
commit
039d7e20fc
@ -29,6 +29,11 @@ set(FREERDP_KBD_SRCS
|
||||
|
||||
add_library(freerdp-kbd ${FREERDP_KBD_SRCS})
|
||||
|
||||
find_suggested_package(X11)
|
||||
if(X11_FOUND)
|
||||
target_link_libraries(freerdp-kbd ${X11_LIBRARIES})
|
||||
endif()
|
||||
|
||||
find_suggested_package(XKBFile)
|
||||
if(XKBFILE_FOUND)
|
||||
add_definitions(-DWITH_XKBFILE)
|
||||
|
Loading…
Reference in New Issue
Block a user