Join Slack
Powered by
But yeah, to point CMake to the compiler you want ...
# general
s
Stefano Bonicatti
01/13/2020, 11:32 AM
But yeah, to point CMake to the compiler you want to use, other than the default it normally takes (GCC), you want to pass
-DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
, provided that clang is in the PATH.
Open in Slack
Previous
Next