[vlc-commits] [Git][videolan/vlc][master] contrib: projectM: really support CMake 4

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Jan 16 12:05:25 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0839dfdc by Steve Lhomme at 2026-01-16T10:44:26+00:00
contrib: projectM: really support CMake 4

We need to patch the CMakeLists.txt to disable CMP0005

- - - - -


1 changed file:

- contrib/src/projectM/rules.mak


Changes:

=====================================
contrib/src/projectM/rules.mak
=====================================
@@ -34,6 +34,8 @@ endif
 	$(APPLY) $(SRC)/projectM/clang6.patch
 	$(APPLY) $(SRC)/projectM/missing-includes.patch
 	$(APPLY) $(SRC)/projectM/projectm-cmake-install.patch
+	# remove enforced CMP0005 incompatible with recent CMake
+	sed -i.orig 's,cmake_policy(,# cmake_policy(,' "$(UNPACK_DIR)/CMakeLists.txt"
 	$(MOVE)
 
 PROJECTM_CONF := \



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0839dfdccb32b8eb523e993c7f37b82fbf01933c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0839dfdccb32b8eb523e993c7f37b82fbf01933c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list