From 037439ad4bcaeb106d46261ff7664572e3bb82b7 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 31 Jan 2024 11:55:45 +0100 Subject: [PATCH] configure: Set -DFEATURE_stdlib_libcpp on "-platform *-libc++" Directly set the feature variable instead of the INPUT_* variable. The magic translation from INPUT_* to FEATURE_* is removed in a subsequent commit. Change-Id: I8156a20e9af6883783c9a7fa6b4f591d7a2f587c Reviewed-by: Alexey Edelev --- cmake/QtProcessConfigureArgs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtProcessConfigureArgs.cmake b/cmake/QtProcessConfigureArgs.cmake index bc776b4b18f..74d60fe815c 100644 --- a/cmake/QtProcessConfigureArgs.cmake +++ b/cmake/QtProcessConfigureArgs.cmake @@ -831,7 +831,7 @@ function(guess_compiler_from_mkspec) push("-DCMAKE_CXX_COMPILER=${cxx_compiler}") endif() if(mkspec MATCHES "-libc\\+\\+$") - push("-DINPUT_stdlib_libcpp=ON") + push("-DFEATURE_stdlib_libcpp=ON") endif() set(cmake_args "${cmake_args}" PARENT_SCOPE) endfunction()