--- CMakeInclude.txt.orig	2026-05-06 14:27:07 UTC
+++ CMakeInclude.txt
@@ -35,7 +35,7 @@ endif()
     set(RWIN32 TRUE)
 endif()
 
-if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+if(UNIX)
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
 endif()
 
