``` +if(CMAKE_SYSTEM MATCHES BSD) # Any BSD deriviative + set(BSD ON) +else() + set(BSD OFF) +endif() + ``` See https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/136/files#r67463413