[bugfix] Legacy cmake
not affected by set_property
#9952
Merged
cmake
not affected by set_property
#9952