Remove strict dependency on Xext for tsmf, it is optional not required
This commit is contained in:
parent
ca097e7363
commit
0cb54119a5
@ -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}")
|
||||||
|
Loading…
Reference in New Issue
Block a user