Commit a41cb9e0 authored by larchunix's avatar larchunix Committed by larchunix

build: make appindicator include consistent with pkg-config flags

Trailing libappindicator/ directory is not included in include path
returned by pkg-config (/usr/include/libappindicator3-0.1).
parent 07d27feb
......@@ -41,9 +41,9 @@ else()
# Try with normal libappindicator
pkg_check_modules(PC_APPINDICATOR appindicator3-0.1)
find_path(APPINDICATOR_INCLUDE_DIR NAMES app-indicator.h
find_path(APPINDICATOR_INCLUDE_DIR NAMES libappindicator/app-indicator.h
HINTS ${PC_APPINDICATOR_INCLUDEDIR} ${PC_APPINDICATOR_INCLUDE_DIRS}
PATH_SUFFIXES libappindicator3-0.1/libappindicator)
PATH_SUFFIXES libappindicator3-0.1)
find_library(APPINDICATOR_LIBRARY NAMES appindicator3)
......
......@@ -49,7 +49,7 @@
#include "remmina_sysinfo.h"
#ifdef HAVE_LIBAPPINDICATOR
#include <app-indicator.h>
#include <libappindicator/app-indicator.h>
#endif
typedef struct _RemminaIcon {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment