update DefineSkeletonGenerationTargetsIfPossible.cmake