chromaprint: bump version.

This commit is contained in:
Jérôme Duval
2016-12-21 22:03:03 +01:00
parent 4931a4bda5
commit 25f9f1641a
2 changed files with 12 additions and 12 deletions

View File

@@ -1,24 +1,24 @@
From da19f6b315b11e393848809ab8f9fe78fb2265d8 Mon Sep 17 00:00:00 2001
From ffc9161c9731fe8b9b0696cf0caa724a198aa57d Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 13 Apr 2016 23:38:21 +0000
Subject: Haiku patch
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c9f39f5..a9eb837 100644
index 7f097cd..bff6414 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,9 @@ set(chromaprint_VERSION ${chromaprint_SOVERSION_MAJOR}.${chromaprint_SOVERSION_M
set(chromaprint_SOVERSION ${chromaprint_SOVERSION_MAJOR})
@@ -42,7 +42,9 @@ if(CMAKE_COMPILER_IS_GNUCXX AND BUILD_SHARED_LIBS)
endif()
include(CheckFunctionExists)
cmake_push_check_state(RESET)
-set(CMAKE_REQUIRED_LIBRARIES -lm)
+if(NOT HAIKU)
+ set(CMAKE_REQUIRED_LIBRARIES -lm)
+ set(CMAKE_REQUIRED_LIBRARIES -lm)
+endif()
check_function_exists(lrintf HAVE_LRINTF)
check_function_exists(round HAVE_ROUND)
cmake_pop_check_state()
--
2.2.2
2.10.2