CMake: Fix -pch configure option
This amends dbd3c75965.
Change-Id: Ia87d60f1da65624bc5c6ffb915eecf99a2d8bdc0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
parent
544b08f664
commit
22b663f55d
|
|
@ -68,7 +68,7 @@ while(configure_args)
|
|||
calculate_state()
|
||||
list(POP_FRONT configure_args feature)
|
||||
push("-DFEATURE_${feature}=${state}")
|
||||
elseif(arg MATCHES "^-(no-)pch")
|
||||
elseif(arg MATCHES "^-(no-)?pch")
|
||||
calculate_state()
|
||||
push("-DBUILD_WITH_PCH=${state}")
|
||||
elseif(arg MATCHES "^-system-(.*)")
|
||||
|
|
|
|||
Loading…
Reference in New Issue