snap-stanford / snap

Stanford Network Analysis Platform (SNAP) is a general purpose network analysis and graph mining library.
Other
2.16k stars 797 forks source link

Use CXX instead of CC for C++ compiler environment variable #165

Open jakirkham opened 5 years ago

jakirkham commented 5 years ago

Typically the CC environment variable is used for the C compiler. However it appears the Makefiles here use it as the C++ compiler, which generally won't work. Would be better to switch to using CXX, which is the environment variable used to specify the C++ compiler.

Demirrr commented 5 years ago

Unfortunately, I have also faced with the very same issue. I was wondering how did you @jakirkham overcome this issue ?

Cheers