Tuesday, January 03, 2017

Arch: Specify clang in Clion

Go to Preferences/Settings -> Build, Execution, Deployment -> CMake -> CMake option -D CMAKE_C_COMPILER=/usr/bin/clang -D CMAKE_CXX_COMPILER=/usr/bin/clang++