summaryrefslogtreecommitdiffstats
path: root/libk3b
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-13 01:44:00 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-13 01:45:23 +0100
commitff3e84bf837875479cbb1211e818468d553772de (patch)
tree18f11fdd3c2838ae58fb91fdde6518eeaf59394f /libk3b
parente563a0b89e41c5af2489286ba1351211d1dc5084 (diff)
downloadk3b-ff3e84bf837875479cbb1211e818468d553772de.tar.gz
k3b-ff3e84bf837875479cbb1211e818468d553772de.zip
cmake: Fix detection of functions lrint and lrintf in libm
Set HAVE_LRINT and HAVE_LRINTF if functions not exists Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 87fbdb32edf76217c9376e58f6b4c86f7bdd19d8)
Diffstat (limited to 'libk3b')
-rw-r--r--libk3b/plugin/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libk3b/plugin/CMakeLists.txt b/libk3b/plugin/CMakeLists.txt
index 5c7e033..f4925ce 100644
--- a/libk3b/plugin/CMakeLists.txt
+++ b/libk3b/plugin/CMakeLists.txt
@@ -44,7 +44,7 @@ tde_moc( k3bplugin_SOURCES k3bprojectplugin.h )
tde_add_library( k3bplugin STATIC_PIC AUTOMOC
SOURCES ${k3bplugin_SOURCES}
- LINK ${LIBSAMPLERATE_LIBRARIES}
+ LINK m ${LIBSAMPLERATE_LIBRARIES}
)