I\'m using the following variables. It seems cmake do use clang but ar/ranlib is not properly set.
//cmake version 3.18.2 SET(CMAKE_AR ${tools}/bin/ll