summaryrefslogtreecommitdiffstats
path: root/plugins/mock/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-08-23 21:26:23 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-08-23 21:26:23 +0200
commitd4a7a6b344d89ba36963cfca60db5586b4597855 (patch)
tree00cea58a100c097cc65d26068c1b98154a2aedff /plugins/mock/CMakeLists.txt
parent437b673ba0b49e5b7dbfc88fa5d0fb23fed1bd73 (diff)
downloadlibuca-d4a7a6b344d89ba36963cfca60db5586b4597855.tar.gz
libuca-d4a7a6b344d89ba36963cfca60db5586b4597855.tar.bz2
libuca-d4a7a6b344d89ba36963cfca60db5586b4597855.tar.xz
libuca-d4a7a6b344d89ba36963cfca60db5586b4597855.zip
mock: link m explicitly
Seems not to be the case on current Ubuntus.
Diffstat (limited to 'plugins/mock/CMakeLists.txt')
-rw-r--r--plugins/mock/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/mock/CMakeLists.txt b/plugins/mock/CMakeLists.txt
index 11dd504..df53b5b 100644
--- a/plugins/mock/CMakeLists.txt
+++ b/plugins/mock/CMakeLists.txt
@@ -13,9 +13,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../package-plugin.sh.in
add_library(ucamock SHARED
uca-mock-camera.c)
-target_link_libraries(ucamock
- uca
- ${UCA_DEPS})
+target_link_libraries(ucamock uca m ${UCA_DEPS})
install(TARGETS ucamock
LIBRARY DESTINATION ${UCA_PLUGINDIR}