[vlc-devel] [PATCH] x265: require cmake 2.8.8

Sean McGovern gseanmcg at gmail.com
Sat Apr 5 17:24:49 CEST 2014


Actually, please ignore this. Debian stable already has cmake 2.8.9.

Can somebody show me how to require _at least_ 2.8.8?

-- Sean McG.
-----Original Message-----
From: Sean McGovern <gseanmcg at gmail.com>
Sender: "vlc-devel" <vlc-devel-bounces at videolan.org>Date: Sat,  5 Apr 2014 11:15:16 
To: <vlc-devel at videolan.org>
Reply-To: Mailing list for VLC media player developers <vlc-devel at videolan.org>
Subject: [vlc-devel] [PATCH] x265: require cmake 2.8.8

---
 contrib/src/x265/rules.mak |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/src/x265/rules.mak b/contrib/src/x265/rules.mak
index 4f42eb4..111d1b4 100644
--- a/contrib/src/x265/rules.mak
+++ b/contrib/src/x265/rules.mak
@@ -6,9 +6,11 @@ X265_SNAPURL := https://bitbucket.org/multicoreware/x265/get/$(X265_VERSION).tar
 
 ifdef BUILD_ENCODERS
 ifdef GPL
+ifeq ($(shell cmake --version | head -1 | sed s/'.* '//),2.8.8)
 PKGS += x265
 endif
 endif
+endif
 
 ifeq ($(call need_pkg,"x265 >= 0.6"),)
 PKGS_FOUND += x265
-- 
1.7.9.2

_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list