[vlc-commits] extras/tools: Bump cmake version
Hugo Beauzée-Luyssen
git at videolan.org
Mon Oct 9 16:54:00 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Oct 9 16:48:00 2017 +0200| [92acffa9a24f3baf0b70fc2905d54e870f7df92a] | committer: Hugo Beauzée-Luyssen
extras/tools: Bump cmake version
Cmake <= 3.7 are generating an invalid value for
CMAKE_CXX_IMPLICIT_LINK_LIBRARIES, causing the compile flags to contain
-lto_library -lc++ in some cases. This would lead to -lc++ not being
considered as the c++ library, causing build failures when building a
C module that is using a C++ library.
This is fixed starting from cmake 3.8
This fixes macOS builds
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92acffa9a24f3baf0b70fc2905d54e870f7df92a
---
extras/tools/bootstrap | 2 +-
extras/tools/packages.mak | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap
index d388fa99a1..9d4ccfdb12 100755
--- a/extras/tools/bootstrap
+++ b/extras/tools/bootstrap
@@ -75,7 +75,7 @@ check automake 1.15
check m4 1.4.16
check libtool 2.4
check pkg-config
-check cmake 3.4.1
+check cmake 3.8.2
check yasm
check_tar
check ragel
diff --git a/extras/tools/packages.mak b/extras/tools/packages.mak
index be725f793f..668741762c 100644
--- a/extras/tools/packages.mak
+++ b/extras/tools/packages.mak
@@ -6,8 +6,8 @@ VIDEOLAN=http://downloads.videolan.org/pub/contrib
YASM_VERSION=1.2.0
YASM_URL=http://www.tortall.net/projects/yasm/releases/yasm-$(YASM_VERSION).tar.gz
-CMAKE_VERSION=3.4.3
-CMAKE_URL=http://www.cmake.org/files/v3.4/cmake-$(CMAKE_VERSION).tar.gz
+CMAKE_VERSION=3.8.2
+CMAKE_URL=http://www.cmake.org/files/v3.8/cmake-$(CMAKE_VERSION).tar.gz
LIBTOOL_VERSION=2.4.2
LIBTOOL_URL=$(GNU)/libtool/libtool-$(LIBTOOL_VERSION).tar.gz
More information about the vlc-commits
mailing list