summaryrefslogtreecommitdiff
path: root/emulators/fbsd-duckstation/files/patch-src-util-CMakeLists.txt
blob: 003ca38b615109f997a243ab881f06e0a2b91349 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/util/CMakeLists.txt.orig	2024-06-14 05:59:32 UTC
+++ src/util/CMakeLists.txt
@@ -114,7 +114,7 @@ if(ENABLE_OPENGL)
     target_link_libraries(util PRIVATE "opengl32.lib")
   endif()
 
-  if(LINUX OR FREEBSD OR ANDROID)
+  if(CMAKE_SYSTEM_NAME MATCHES "(Linux|FreeBSD|Android)")
     target_sources(util PRIVATE
       opengl_context_egl.cpp
       opengl_context_egl.h