No CMakePredefinedTargets when using solution folders

Viewed 1716

When using VS solution folders in CMake using:

set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set_target_properties(MyProject PROPERTIES FOLDER "MyProjects")

I'm also automatically enabling a CMakePredefinedTargets folder:

enter image description here

Is there a way to avoid this behaviour?

Resetting PREDEFINED_TARGETS_FOLDER can rename the folder but not remove it. Setting the FOLDER property for INSTALL, etc. does not seem to be valid either.

Thanks.

1 Answers
Related