Could you please check if my patch works on OpenBSD?
If so, I'll change that line in the PR to `if ("${CMAKE_SYSTEM_NAME}" MATCHES ".*BSD.*")`.