ObjC++ and Precompile headers
Hello! Testing CMake 3.16.0-rc3 I have found that it seems like the precompile header is not compiled for ObjC++ - only for C and C++.
What's the correct way to include the precompiled header in ObjC++ sources? I currently pass the -include
flag manually in CMAKE_OBJCXX_FLAGS
but it's not a great solution because we use different PCH's for different parts of the project and also it makes it so that it doesn't compile the header and ObjC++ compiles slower.
Is there a workaround or is this just a bug?