summaryrefslogtreecommitdiffstats
path: root/plugins/media/CMakeLists.txt
diff options
context:
space:
mode:
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)