TW-32845 There is a problem with cmake plugin (cmake --build case)
(cherry picked from commit 899edfbe291cebaeaee64d7fe4d93c85a83dc1f2)