On 20/02/2020 11:01, Riccardo Mottola wrote:
cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang -DCMAKE_ASM_COMPILER=clang -DCMAKE_ASM_FLAGS=-c

clang++ is a C++ compiler, clang is a C compiler, so your CMAKE_CXX_COMPILER value looks wrong. Clang is the default compiler on FreeBSD, so these seem redundant (I don't know why you are adding -c to ASM flags either). I don't know if the system clang on FreeBSD 12 is sufficiently new, the package uses clang80.

David


Reply via email to