git: e98242660e2f - main - net/linphone: fix in advance of CMake 3.26
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Apr 2023 22:29:40 UTC
The branch main has been updated by adridg:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e98242660e2fcc66ca16e71994da0aa3047a616c
commit e98242660e2fcc66ca16e71994da0aa3047a616c
Author: Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2023-03-23 19:14:00 +0000
Commit: Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2023-04-12 22:27:10 +0000
net/linphone: fix in advance of CMake 3.26
Need a project() before looking for packages
See e.g. https://gitlab.kitware.com/cmake/cmake/-/issues/24333
---
net/linphone/files/patch-CMakeLists.txt | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/net/linphone/files/patch-CMakeLists.txt b/net/linphone/files/patch-CMakeLists.txt
index 1b68c310fbb9..c53dd66eed28 100644
--- a/net/linphone/files/patch-CMakeLists.txt
+++ b/net/linphone/files/patch-CMakeLists.txt
@@ -1,5 +1,13 @@
--- CMakeLists.txt.orig 2022-08-24 10:17:10 UTC
+++ CMakeLists.txt
+@@ -20,6 +20,7 @@
+ #
+ ################################################################################
+ cmake_minimum_required(VERSION 3.1)
++project(linphoneqt)
+
+ find_package(bctoolbox CONFIG)
+ set(FULL_VERSION )
@@ -487,7 +487,7 @@ if(APPLE)
set(MSPLUGINS_DIR "Frameworks/mediastreamer2.framework/Versions/A/Libraries")
endif()