mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
[qmake] Narrow the condition in which the swift_config.cookie warning is emitted
This commit is contained in:
@@ -68,7 +68,7 @@ system($$TOUCH $$system_path($$BuildRoot/swift_config.cookie)) {
|
|||||||
QMAKE_EXTRA_TARGETS += swift_config_changed
|
QMAKE_EXTRA_TARGETS += swift_config_changed
|
||||||
PRE_TARGETDEPS += $${swift_config_changed.target}
|
PRE_TARGETDEPS += $${swift_config_changed.target}
|
||||||
}
|
}
|
||||||
else:msvc:build_pass {
|
else:msvc:!qtc_run {
|
||||||
warning(Failed to create swift_config.cookie; you will need to manually run qmake again after any changes in $$join(SWIFT_CONFIG_JSON, ", ").)
|
warning(Failed to create swift_config.cookie; you will need to manually run qmake again after any changes in $$join(SWIFT_CONFIG_JSON, ", ").)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user