aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/CMakeLists.txt8
-rw-r--r--tools/indicator-loader.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
new file mode 100644
index 0000000..4120f31
--- /dev/null
+++ b/tools/CMakeLists.txt
@@ -0,0 +1,8 @@
+# ayatana-indicator-loader3
+
+set_source_files_properties(indicator-loader.c PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
+add_executable("ayatana-indicator-loader3" indicator-loader.c)
+target_include_directories("ayatana-indicator-loader3" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS})
+target_include_directories("ayatana-indicator-loader3" PUBLIC "${CMAKE_SOURCE_DIR}/src")
+target_link_libraries("ayatana-indicator-loader3" ${PROJECT_DEPS_LIBRARIES} "-L${CMAKE_BINARY_DIR}/src" -layatana-indicator3)
+add_dependencies("ayatana-indicator-loader3" "ayatana-indicator3")
diff --git a/tools/indicator-loader.c b/tools/indicator-loader.c
index ad4fdf4..50b5143 100644
--- a/tools/indicator-loader.c
+++ b/tools/indicator-loader.c
@@ -25,9 +25,9 @@
#include <gtk/gtk.h>
#include <libayatana-ido/libayatana-ido.h>
-#include "src/indicator-object.h"
+#include "indicator-object.h"
#if GTK_CHECK_VERSION (3,0,0)
- #include "src/indicator-ng.h"
+ #include "indicator-ng.h"
#endif
static GHashTable * entry_to_menu_item = NULL;