for the following case, the build target list will contain “mything-bin” and try to execute a file called that instead of “mything” add_executable(mything-bin ${MY_SRCS}) set_target_properties(mything-bin PROPERTIES OUTPUT_NAME mything)
This should be fixed in 5.2.0. *** This bug has been marked as a duplicate of bug 379484 ***