summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-05-21 18:58:15 +0200
committerEugen Wissner <belka@caraus.de>2024-05-21 18:58:15 +0200
commit0eccfe3ef3ca602212667f339440d77c13d757b1 (patch)
tree7fe3f3cf865b57e85150b346e412c89bf4c97303 /src/CMakeLists.txt
parent81232f61046f3c571efea335f52680d6a603c8d7 (diff)
downloadslack-timedate-0eccfe3ef3ca602212667f339440d77c13d757b1.tar.gz
Split the data and sources
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})