From d4a7a6b344d89ba36963cfca60db5586b4597855 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Sat, 23 Aug 2014 21:26:23 +0200 Subject: mock: link m explicitly Seems not to be the case on current Ubuntus. --- plugins/mock/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/mock') 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} -- cgit v1.2.3