cmake_minimum_required(VERSION 3.2 FATAL_ERROR) project(notification-daemon CXX) include_directories(${PROJECT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/thirdparty/SQLiteCpp/include/SQLiteCpp ) add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp) add_executable(notification-daemon calendar-daemon.cpp util/calendar_parsing.cpp util/notifications.h ical/Alarm.cpp ical/Event.cpp ical/IcalObject.h io/debug.cpp ) add_definitions(-DLOG_DEBUG) target_link_libraries(notification-daemon ical boost_system boost_filesystem SQLiteCpp sqlite3 pthread dl) target_compile_options(notification-daemon PRIVATE -g)