summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..9dc53d4
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,10 @@
+find_package(PkgConfig)
+pkg_check_modules(GDBUS REQUIRED gio-2.0 dbus-1 glibmm-2.4)
+
+add_executable(slack-timedate
+ slack-timedate.cpp slack-timedate.h
+)
+target_include_directories(slack-timedate PRIVATE ${GDBUS_INCLUDE_DIRS})
+target_link_libraries(slack-timedate ${GDBUS_LIBRARIES})
+
+install(TARGETS slack-timedate DESTINATION ${CMAKE_INSTALL_LIBEXECDIR})