Add X11 libraries. Neede for MacOS X build.

This commit is contained in:
Alan Pearson 2011-10-24 10:43:45 -07:00
parent 69fdca0abc
commit 039d7e20fc

View File

@ -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)