From 96d192735ea81f744a8ce111aa7649be295979c0 Mon Sep 17 00:00:00 2001 From: Morilli <35152647+Morilli@users.noreply.github.com> Date: Mon, 31 Mar 2025 02:55:25 +0200 Subject: [PATCH] fix libcxx configure 0 for cmake 4 --- waterbox/libcxx/configure-for-waterbox-phase-0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waterbox/libcxx/configure-for-waterbox-phase-0 b/waterbox/libcxx/configure-for-waterbox-phase-0 index e4dfcaa7c8..8615a28555 100755 --- a/waterbox/libcxx/configure-for-waterbox-phase-0 +++ b/waterbox/libcxx/configure-for-waterbox-phase-0 @@ -18,7 +18,7 @@ export LDFLAGS="-no-pie" # but this ends up breaking our standalone building of libunwind # there isn't a simple fix with a command line option, so... -printf "%s\n%s\n" "enable_language(ASM)" "add_subdirectory($LLVMDIR/libunwind .)" > CMakeLists.txt +printf "%s\n%s\n%s\n" "cmake_minimum_required(VERSION 3.20.0)" "project(libunwind C CXX ASM)" "add_subdirectory($LLVMDIR/libunwind libunwind)" > CMakeLists.txt cmake \ -DCMAKE_ASM_COMPILER="$CC" \