I submitted a PR for FreeBSD / clang support in CMakeLists.txt to anthonix in 2018. Is there any interest here? I can rebase and resubmit.