fix formatting in last merge

This commit is contained in:
walker0643 2018-07-03 16:55:57 -04:00
parent cc69299ea3
commit 5498836b6f
1 changed files with 6 additions and 5 deletions

View File

@ -163,11 +163,12 @@ if (UNIX)
include_directories("/usr/local/include" "/usr/local/include/avahi-compat-libdns_sd") include_directories("/usr/local/include" "/usr/local/include/avahi-compat-libdns_sd")
link_directories("/usr/local/lib") link_directories("/usr/local/lib")
endif() endif()
if (${PKG_CONFIG_FOUND})
pkg_check_modules (AVAHI_COMPAT REQUIRED avahi-compat-libdns_sd) if (${PKG_CONFIG_FOUND})
include_directories (BEFORE SYSTEM ${AVAHI_COMPAT_INCLUDE_DIRS}) pkg_check_modules (AVAHI_COMPAT REQUIRED avahi-compat-libdns_sd)
set (CMAKE_REQUIRED_INCLUDES "${CMAKE_REQUIRED_INCLUDES};${AVAHI_COMPAT_INCLUDE_DIRS}") include_directories (BEFORE SYSTEM ${AVAHI_COMPAT_INCLUDE_DIRS})
endif () set (CMAKE_REQUIRED_INCLUDES "${CMAKE_REQUIRED_INCLUDES};${AVAHI_COMPAT_INCLUDE_DIRS}")
endif ()
set (XKBlib "X11/Xlib.h;X11/XKBlib.h") set (XKBlib "X11/Xlib.h;X11/XKBlib.h")
set (CMAKE_EXTRA_INCLUDE_FILES "${XKBlib};X11/extensions/Xrandr.h") set (CMAKE_EXTRA_INCLUDE_FILES "${XKBlib};X11/extensions/Xrandr.h")