Debug and release builds with CMake work on Linux. I've tested it, before I posted that your answer is not related.
You can configure and build CMake debug and release builds in any order and it works - I tested this too.
You keep acting like I only post stuff just to post stuff or something, idk what the hell your problem is, but I don't just make shit up. I had a friend just a day before this thread was openened, tell me about them having this same problem with debug builds being broken ON LINUX.
Here is the image he sent me of it failing to build.
Since he showed me this error, and its with debug builds, and the error is saying something about protobuf JUST LIKE OP'S PROBLEM, I connected the two to mean that the build was just broken on linux, which apparently according to you it's not.... but all that really means is that you two are clearly running different OS's, so why don't you chill your superiority complex!
I don't know what your problem is, but I have had enough, I'm completely done responding to you or even acknowledging your existence on posts here or github,
I wash my hands of you!
Let this be a lesson for you, you aren't smarter than everyone else in the world, everyone else in the world is not inferior to you, and you need to grow the hell up!