Suppress the warning about unused QT_INTERNAL_CALLED_FROM_CONFIGURE
Add the dummy check if the variable is defined to suppress the warning. Pick-to: 6.7 Change-Id: If3bb0ef6a2587693c0ec898ceb3080ebfc1e82a7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
f35b9530b9
commit
6760bae2fa
@ -384,7 +384,9 @@ function(qt_internal_qt_configure_end)
|
||||
# If Qt is configued via the configure script, remove the marker variable, so that any future
|
||||
# reconfigurations that are done by calling cmake directly don't trigger configure specific
|
||||
# logic.
|
||||
unset(QT_INTERNAL_CALLED_FROM_CONFIGURE CACHE)
|
||||
if(QT_INTERNAL_CALLED_FROM_CONFIGURE)
|
||||
unset(QT_INTERNAL_CALLED_FROM_CONFIGURE CACHE)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
macro(qt_build_repo)
|
||||
|
Loading…
x
Reference in New Issue
Block a user