Browse Source

updated cmake

main
Stefan Pranger 3 years ago
parent
commit
09c4fcb2b6
  1. 8
      CMakeLists.txt

8
CMakeLists.txt

@ -18,12 +18,16 @@ add_executable(notification-daemon
ical/Event.cpp
ical/IcalObject.cpp
db/create.h
db/update.h
db/fetch_alarms.h
db/update.cpp
db/Schema.cpp
db/db.cpp
db/FSWatcher.cpp
db/migrations/Migration.cpp
db/migrations/builder/Table.cpp
db/statements/builder/Statement.cpp
db/statements/builder/SelectStatementBuilder.cpp
db/statements/builder/InsertStatementBuilder.cpp
)
set(CMAKE_VERBOSE_MAKEFILE off)
@ -32,5 +36,5 @@ get_directory_property( DirDefs DIRECTORY ${CMAKE_SOURCE_DIR} COMPILE_DEFINITION
foreach( d ${DirDefs} )
message( STATUS "Found Define: " ${d} )
endforeach()
target_link_libraries(notification-daemon ical boost_system boost_filesystem SQLiteCpp sqlite3 pthread dl)
target_link_libraries(notification-daemon ical boost_system boost_filesystem SQLiteCpp sqlite3 pthread dl inotify-cpp)
target_compile_options(notification-daemon PRIVATE -g)
Loading…
Cancel
Save