--- Emulator/NativeCalls/CMakeLists.txt.orig	2025-11-07 12:31:53 UTC
+++ Emulator/NativeCalls/CMakeLists.txt
@@ -18,7 +18,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
 		Emulator/NativeCalls/TObjCBridgeCalls.mm
 		Emulator/NativeCalls/TObjCBridgeCalls.h
 	)
-elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
+elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES ".*BSD$")
 	list (APPEND common_sources
 			Emulator/NativeCalls/NativeCallsDefines.h
 			Emulator/NativeCalls/TNativeCalls.cpp
