Package: linphone-desktop / 4.4.10-3

louden-find-package.patch 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
Description: Alias a _FOUND variable; increase diagnostic output
 CMake seems to have changed behaviour regarding case-sensitivity of
 variables.
Author: Dennis Filder <[email protected]>
Last-Update: 2022-08-18
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -220,12 +220,13 @@
 	message(FATAL_ERROR "Minimum supported Qt5 version is 5.10!")
 endif()
 
-find_package(LinphoneCxx CONFIG QUIET)
-find_package(Linphone CONFIG QUIET)
-find_package(bctoolbox CONFIG QUIET)
-find_package(belcard CONFIG QUIET)
-find_package(Mediastreamer2 CONFIG QUIET)
-find_package(ortp CONFIG QUIET)
+find_package(LinphoneCxx CONFIG)
+set(LinphoneCxx_FOUND LINPHONECXX_FOUND)
+find_package(Linphone CONFIG)
+find_package(bctoolbox CONFIG)
+find_package(belcard CONFIG)
+find_package(Mediastreamer2 CONFIG)
+find_package(ortp CONFIG)
 
 if(NOT (LinphoneCxx_FOUND) OR NOT (Linphone_FOUND) OR NOT (bctoolbox_FOUND) OR NOT (belcard_FOUND) OR NOT (Mediastreamer2_FOUND) OR NOT (ortp_FOUND) OR FORCE_APP_EXTERNAL_PROJECTS)
 	message("Projects are set as External projects. You can start building them by using for example : cmake --build . --target install")