I'm working on a C project. But others told me that they couldn't build it because they didn't have a C++ compiler.
I have no idea how to disable C++'s detection. How to do this?
I'm working on a C project. But others told me that they couldn't build it because they didn't have a C++ compiler.
I have no idea how to disable C++'s detection. How to do this?
It is better to use LANGUAGES C That also combines with the more common use
project(projectName VERSION 1.0 LANGUAGES C)