Package: crtmpserver / 1.0~dfsg-5

18_enable_cmake_find_default_paths.diff Patch series | download
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
26
27
28
29
30
31
32
33
34
35
From: Andriy Beregovenko <jet@jet.kiev.ua>
Bug-Debian: http://bugs.debian.org/642707
Description: Enable search libs in default locations

--- a/cmake_find_modules/Find_openssl.cmake
+++ b/cmake_find_modules/Find_openssl.cmake
@@ -26,7 +26,7 @@ FIND_LIBRARY(OPENSSL_LIBRARY_PATH
 		/sw/lib
 		/usr/local/ssl/lib
 		/lib
-		NO_DEFAULT_PATH)
+		)
 
 FIND_LIBRARY(CRYPTO_LIBRARY_PATH
 	NAMES
@@ -40,7 +40,7 @@ FIND_LIBRARY(CRYPTO_LIBRARY_PATH
 		/sw/lib
 		/usr/local/ssl/lib
 		/lib
-		NO_DEFAULT_PATH)
+		)
 
 IF($ENV{COMPILE_STATIC} MATCHES "1")
 	FIND_LIBRARY(Z_LIBRARY_PATH
--- a/cmake_find_modules/Find_lua.cmake
+++ b/cmake_find_modules/Find_lua.cmake
@@ -23,7 +23,7 @@ FIND_LIBRARY(LUA_LIBRARY_PATH_
 		/usr/local/lib/lua51
 		/sw/lib
 		/opt/local/lib
-		NO_DEFAULT_PATH)
+		)
 
 IF(LUA_INCLUDE_PATH_)
 	SET(LUA_FOUND 1)