lucastheis / cmt

Fast CPU implementations of several conditional probabilistic models
http://lucastheis.github.io/cmt/
MIT License
36 stars 14 forks source link

Only use `libc++` if `clang` is used #25

Closed jakirkham closed 7 years ago

jakirkham commented 7 years ago

On this line, libc++ is being forced in the compiler flags. However if the user selects g++, then this causes problems. It would be better to only set this flag if CXX is unspecified (i.e. default compiler is used).

jakirkham commented 7 years ago

Proposed fix in PR ( https://github.com/lucastheis/cmt/pull/27 ).