summaryrefslogtreecommitdiffstats
path: root/graphics/autopano-sift-c/0001-add-missing-lm-to-libs.patch
blob: 60cc3e5abb1f137aa05ac46a7338fc42f9f78e5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 0b58850877cb12dd1469c05d63fe5f85d15db7db Mon Sep 17 00:00:00 2001
From: Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
Date: Fri, 26 Oct 2012 21:42:30 +0200
Subject: [PATCH] add missing -lm to libs

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2364ad5..63e1bae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -122,7 +122,7 @@ SET(LIBSIFT_SOURCES LoweDetector.c RANSAC.c GaussianConvolution.c
 ADD_LIBRARY(libsift STATIC ${LIBSIFT_SOURCES})
 
 set(all_libs libsift ${JPEG_LIBRARIES} ${TIFF_LIBRARIES}
-    ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${PANO13_LIBRARIES} ${LIBXML2_LIBRARIES}) 
+    ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${PANO13_LIBRARIES} ${LIBXML2_LIBRARIES} -lm) 
 
 add_executable(generatekeys GenerateKeys.c)
 TARGET_LINK_LIBRARIES(generatekeys ${all_libs})
-- 
1.8.0