When using the Xcode 11 beta 7 as the build generator for my CMake project it does not set CMAKE_CXX_COMPILER_ID. With previous versions of Xcode when running CMake CMAKE_CXX_COMPILER_ID was set to AppleClang. Has anyone encountered the same issue and does someone know a fix for it? When building for iOS I know that my compiler id is AppleClang but I prefer not to hardcode this in the CMakeLists.txt
The fix for me was to update to the latest cmake version on my machine.