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>
This commit is contained in:
parent
faa06fc6f5
commit
037439ad4b
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user