Remove strict dependency on Xext for tsmf, it is optional not required

This commit is contained in:
bjcollins 2015-09-16 12:45:25 -05:00
parent ca097e7363
commit 0cb54119a5

View File

@ -48,12 +48,6 @@ else()
tsmf_X11.c) tsmf_X11.c)
set(LIBS ${LIBS} ${X11_LIBRARIES} ${XEXT_LIBRARIES}) set(LIBS ${LIBS} ${X11_LIBRARIES} ${XEXT_LIBRARIES})
if(NOT XEXT_FOUND)
message(FATAL_ERROR "Xext library not found, but required for TSMF module.")
else()
add_definitions(-DWITH_XEXT=1)
endif()
endif() endif()
set(${MODULE_PREFIX}_SRCS "${SRC}") set(${MODULE_PREFIX}_SRCS "${SRC}")