--- smsdaemon/plugins/CMakeLists.txt 2008/11/02 20:14:20 114 +++ smsdaemon/plugins/CMakeLists.txt 2008/12/07 11:55:44 139 @@ -1,6 +1,13 @@ -include_directories(.. .) +INCLUDE_DIRECTORIES(.. .) -add_library(plugins SHARED EchoPlugin.cpp SpamPlugin.cpp ShellExecPlugin.cpp TogPlugin.cpp TrainInfo.cpp StatusPlugin.cpp ListPlugin.cpp) +ADD_LIBRARY(smsplugins SHARED + EchoPlugin.cpp SpamPlugin.cpp ShellExecPlugin.cpp TogPlugin.cpp TrainInfo.cpp StatusPlugin.cpp ListPlugin.cpp + HostStatusPlugin.cpp) +INSTALL(TARGETS smsplugins + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib +)