summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2024-01-31 11:55:45 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2024-02-13 20:11:21 +0100
commit037439ad4bcaeb106d46261ff7664572e3bb82b7 (patch)
tree723f6df9b4ad1f4acec01bff7a85b1a3c196bc14 /cmake
parentfaa06fc6f5853fd1997b71c886bf7a3de9ce9c22 (diff)
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 <alexey.edelev@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtProcessConfigureArgs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtProcessConfigureArgs.cmake b/cmake/QtProcessConfigureArgs.cmake
index bc776b4b18..74d60fe815 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()