Explorar el Código

libobs: Make sure X11_XCB is not linked with apple systems

jp9000 hace 9 años
padre
commit
d96092a0c9
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      libobs/CMakeLists.txt

+ 3 - 1
libobs/CMakeLists.txt

@@ -13,7 +13,9 @@ endif()
 
 if(UNIX)
 	find_package(DBus QUIET)
-	find_package(X11_XCB REQUIRED)
+	if (NOT APPLE)
+		find_package(X11_XCB REQUIRED)
+	endif()
 else()
 	set(HAVE_DBUS "0")
 endif()