forked from qt-creator/qt-creator
QmlDesigner: Disable warnings-as-errors by default
for everyone that doesn't explicitly set the BUILD_DESIGNSTUDIO CMake variable or the corresponding environment variable or CMake option. Fixes: QTCREATORBUG-29238 Change-Id: Ie1959a468fc7bee0fed790b025ecdb3f49ab8f08 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -25,7 +25,7 @@ add_qtc_plugin(QmlProjectManager
|
||||
)
|
||||
|
||||
extend_qtc_plugin(QmlProjectManager
|
||||
CONDITION (NOT DISABLE_COMPILE_WARNING_AS_ERROR) AND ($<CONFIG:Debug> OR WITH_TESTS)
|
||||
CONDITION ENABLE_COMPILE_WARNING_AS_ERROR
|
||||
PROPERTIES COMPILE_WARNING_AS_ERROR ON
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user