$NetBSD: patch-src_utils_CMakeLists.txt,v 1.1 2026/05/04 11:08:21 markd Exp $

Allow NetBSD and OpenBSD

--- src/utils/CMakeLists.txt.orig	2025-11-04 14:59:51.000000000 +0000
+++ src/utils/CMakeLists.txt
@@ -18,7 +18,7 @@ endif()
 
 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
     target_sources(kwin PRIVATE executable_path_proc.cpp)
-elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD" OR CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
     target_sources(kwin PRIVATE executable_path_sysctl.cpp)
 else()
     message(FATAL_ERROR "Unsupported platform ${CMAKE_SYSTEM_NAME}")
