From 0eccfe3ef3ca602212667f339440d77c13d757b1 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 21 May 2024 18:58:15 +0200 Subject: Split the data and sources --- src/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/CMakeLists.txt (limited to 'src/CMakeLists.txt') 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}) -- cgit v1.2.3