diff options
Diffstat (limited to 'graphics/autopano-sift-c/0001-add-missing-lm-to-libs.patch')
-rw-r--r-- | graphics/autopano-sift-c/0001-add-missing-lm-to-libs.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/autopano-sift-c/0001-add-missing-lm-to-libs.patch b/graphics/autopano-sift-c/0001-add-missing-lm-to-libs.patch new file mode 100644 index 0000000000..60cc3e5abb --- /dev/null +++ b/graphics/autopano-sift-c/0001-add-missing-lm-to-libs.patch @@ -0,0 +1,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 + |