Xcode: CMake 3.26.0-rc3 drops USE_HEADERMAP = NO and breaks an existing build
I have been using CMake 3.25.0 successfully, and tried 3.26.0-rc2 (rc3 is the same) and ran into issues. I am on macOS 12.0.1 on Apple silicon and using Xcode 13.4.1. For reasons that aren't clear to me using .hmap files is breaking my build. It appears that 3.25.0 used to set USE_HEADERMAP = NO
for all projects, but the latest version does not. We have two unrelated header files with the same name (different paths) and the wrong one is being included.
This change appeared in CMake commit 8527f42b. The explanation in the commit sounds reasonable, but the change is causing a problem for us.
If nothing else, it should be mentioned in the release notes https://cmake.org/cmake/help/v3.26/release/3.26.html
Edited by Michael Richter