On 07.03.2018 16:54, Petr Pisar wrote:
On 2018-03-07, Sandro Mani <manisandro@xxxxxxxxx> wrote:
I.e. mmg3d reports "No CMAKE_CXX_COMPILER could be found.", but mmg3d is
a pure C library, so I suppose it is just cmake which checks for a c++
compiler regardless of whether it is used or not.
C++ is the default language cmake expects and what compiler it invokes.
If your code in C only, than you have to explicitly specify that in
CMakeList.txt.
See <https://bugzilla.redhat.com/show_bug.cgi?id=923024>.
But the build should have succeded regardless of the presence of g++.
No. It's fatal for cmake.
Ah I see, thanks for the explanation.
Sandro
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx