mirror of https://github.com/fltk/fltk
CMake build for Wayland/X11 hybrid: check for libx???-dev packages
This commit is contained in:
parent
b6c5de7c05
commit
7d8885d6d8
|
@ -231,10 +231,25 @@ if (UNIX)
|
||||||
unset (OPTION_USE_XCURSOR CACHE)
|
unset (OPTION_USE_XCURSOR CACHE)
|
||||||
unset (OPTION_USE_XFIXES CACHE)
|
unset (OPTION_USE_XFIXES CACHE)
|
||||||
if (X11_FOUND)
|
if (X11_FOUND)
|
||||||
|
if (NOT X11_Xfixes_FOUND)
|
||||||
|
message(FATAL_ERROR "*** Terminating: Install package libxfixes-dev")
|
||||||
|
endif()
|
||||||
set (HAVE_XFIXES 1)
|
set (HAVE_XFIXES 1)
|
||||||
|
if (NOT X11_Xrender_FOUND)
|
||||||
|
message(FATAL_ERROR "*** Terminating: Install package libxrender-dev")
|
||||||
|
endif()
|
||||||
set (HAVE_XRENDER 1)
|
set (HAVE_XRENDER 1)
|
||||||
|
if (NOT X11_Xft_FOUND)
|
||||||
|
message(FATAL_ERROR "*** Terminating: Install package libxft-dev")
|
||||||
|
endif()
|
||||||
set (USE_XFT 1)
|
set (USE_XFT 1)
|
||||||
|
if (NOT X11_Xcursor_FOUND)
|
||||||
|
message(FATAL_ERROR "*** Terminating: Install package libxcursor-dev")
|
||||||
|
endif()
|
||||||
set (HAVE_XCURSOR 1)
|
set (HAVE_XCURSOR 1)
|
||||||
|
if (NOT X11_Xinerama_FOUND)
|
||||||
|
message(FATAL_ERROR "*** Terminating: Install package libxinerama-dev")
|
||||||
|
endif()
|
||||||
set (HAVE_XINERAMA 1)
|
set (HAVE_XINERAMA 1)
|
||||||
endif (X11_FOUND)
|
endif (X11_FOUND)
|
||||||
unset (OPTION_USE_PANGO CACHE)
|
unset (OPTION_USE_PANGO CACHE)
|
||||||
|
|
Loading…
Reference in New Issue