1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-26 16:24:41 +01:00

Fix find_path check for X11 headers

This commit is contained in:
Jonas Kvinge 2019-01-24 18:25:54 +01:00
parent 79f50f5343
commit 706529248a

View File

@ -152,8 +152,8 @@ if(WIN32)
endif() endif()
if(X11_FOUND) if(X11_FOUND)
find_path(KEYSYMDEF_H keysymdef.h PATHS ${X11_INCLUDE_DIR}) find_path(KEYSYMDEF_H NAMES "keysymdef.h" PATHS "${X11_INCLUDE_DIR}" PATH_SUFFIXES "X11")
find_path(XF86KEYSYM_H XF86keysym.h PATHS ${X11_INCLUDE_DIR}) find_path(XF86KEYSYM_H NAMES "XF86keysym.h" PATHS "${XCB_INCLUDEDIR}" PATH_SUFFIXES "X11")
if(KEYSYMDEF_H) if(KEYSYMDEF_H)
set(HAVE_KEYSYMDEF_H ON) set(HAVE_KEYSYMDEF_H ON)
else() else()
@ -372,9 +372,6 @@ if (APPLE AND USE_BUNDLE AND NOT USE_BUNDLE_DIR)
set(USE_BUNDLE_DIR "../PlugIns") set(USE_BUNDLE_DIR "../PlugIns")
endif() endif()
#if(IMOBILEDEVICE_FOUND AND PLIST_FOUND)
#add_subdirectory(ext/gstafc)
#endif(IMOBILEDEVICE_FOUND AND PLIST_FOUND)
# Set up definitions and paths # Set up definitions and paths