mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-31 09:44:50 +01:00
Add warning if missing headers
This commit is contained in:
parent
411cb27ead
commit
b2fe64ed34
@ -156,9 +156,13 @@ if(X11_FOUND)
|
||||
find_path(XF86KEYSYM_H XF86keysym.h PATHS ${X11_INCLUDE_DIR})
|
||||
if(KEYSYMDEF_H)
|
||||
set(HAVE_KEYSYMDEF_H ON)
|
||||
else()
|
||||
message(WARNING, "Missing X11/keysymdef.h")
|
||||
endif()
|
||||
if(XF86KEYSYM_H)
|
||||
set(HAVE_XF86KEYSYM_H ON)
|
||||
else()
|
||||
message(WARNING, "Missing X11/XF86keysym.h")
|
||||
endif()
|
||||
endif(X11_FOUND)
|
||||
|
||||
|
@ -28,9 +28,13 @@
|
||||
|
||||
#ifdef HAVE_KEYSYMDEF_H
|
||||
# include <X11/keysymdef.h>
|
||||
#else
|
||||
# warning "Missing X11/keysymdef.h"
|
||||
#endif
|
||||
#ifdef HAVE_XF86KEYSYM_H
|
||||
# include <X11/XF86keysym.h>
|
||||
#else
|
||||
# warning "Missing X11/XF86keysym.h"
|
||||
#endif
|
||||
|
||||
namespace KeyMapperX11 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user