Help: improve docs for INTERPROCEDURAL_OPTIMIZATION target property

The documentation now mentions the per-config target property.

Fixes: #24285
This commit is contained in:
Alexander Neundorf
2023-01-30 22:45:19 +01:00
committed by Brad King
parent a5e272c76f
commit 6ed026592e

View File

@@ -11,3 +11,7 @@ if interprocedural optimization is enabled but not supported.
This property is initialized by the
:variable:`CMAKE_INTERPROCEDURAL_OPTIMIZATION` variable if it is set when a
target is created.
There is also the per-configuration :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION_<CONFIG>`
target property, which overrides :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION`
if it is set.