gentoo-ebuilds/dev-cpp/waylandpp/files/waylandpp-1.0.0-cmake4.patch
Alexey Sokolov 1738f9c592
dev-cpp/waylandpp: fix build with cmake 4
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/41931
Closes: https://github.com/gentoo/gentoo/pull/41931
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-22 01:35:01 +01:00

13 lines
398 B
Diff

https://github.com/NilsBrause/waylandpp/pull/85
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-cmake_minimum_required(VERSION 3.4)
+cmake_minimum_required(VERSION 3.4...4.0)
project(waylandpp VERSION 1.0.0 LANGUAGES CXX)
# packages