diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-11-23 19:00:05 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-11-23 19:00:05 +0100 |
| commit | 7d8885d6d8cd4c1ddabfb608a875a7e470905a16 (patch) | |
| tree | e425ecb7420c08fc68f54f0cd1f01825fe8b7dd5 /CMake | |
| parent | b6c5de7c05c3a76849331c1f163dabd6c41e3a82 (diff) | |
CMake build for Wayland/X11 hybrid: check for libx???-dev packages
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/options.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake index 8d30fa8b6..822f69e5d 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -231,10 +231,25 @@ if (UNIX) unset (OPTION_USE_XCURSOR CACHE) unset (OPTION_USE_XFIXES CACHE) if (X11_FOUND) + if (NOT X11_Xfixes_FOUND) + message(FATAL_ERROR "*** Terminating: Install package libxfixes-dev") + endif() set (HAVE_XFIXES 1) + if (NOT X11_Xrender_FOUND) + message(FATAL_ERROR "*** Terminating: Install package libxrender-dev") + endif() set (HAVE_XRENDER 1) + if (NOT X11_Xft_FOUND) + message(FATAL_ERROR "*** Terminating: Install package libxft-dev") + endif() set (USE_XFT 1) + if (NOT X11_Xcursor_FOUND) + message(FATAL_ERROR "*** Terminating: Install package libxcursor-dev") + endif() set (HAVE_XCURSOR 1) + if (NOT X11_Xinerama_FOUND) + message(FATAL_ERROR "*** Terminating: Install package libxinerama-dev") + endif() set (HAVE_XINERAMA 1) endif (X11_FOUND) unset (OPTION_USE_PANGO CACHE) |
