aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/media/CMakeLists.txt
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2016-01-11 10:20:21 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2016-01-11 10:20:21 +0100
commita5a5383bba11e69379e27919f101c5e7718f8bf2 (patch)
tree0389edd5ac3053c285c3f8444297bca62c99f649 /plugins/media/CMakeLists.txt
parent937dce0512ae998a2416e44601ccb519a7166cdb (diff)
Add Media Plugin
Add a Media Plugin, based off Rygel (UPnP), with only an initialization and a "list" function for now. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/media/CMakeLists.txt')
-rw-r--r--plugins/media/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/media/CMakeLists.txt b/plugins/media/CMakeLists.txt
new file mode 100644
index 00000000..a6fc34ed
--- /dev/null
+++ b/plugins/media/CMakeLists.txt
@@ -0,0 +1,10 @@
+IF(gupnp_FOUND)
+
+ ADD_LIBRARY(media-api MODULE media-api.c media-rygel.c)
+ SET_TARGET_PROPERTIES(media-api PROPERTIES PREFIX "")
+ TARGET_LINK_LIBRARIES(media-api ${link_libraries})
+ INCLUDE_DIRECTORIES(${include_dirs})
+ INSTALL(TARGETS media-api
+ LIBRARY DESTINATION ${plugin_install_dir})
+
+ENDIF(gupnp_FOUND)