citra_meta: search for Qt6::GuiPrivate before using it

Otherwise, the configuration on darwin fails for me with the following
error:

```
CMake Error at src/citra_meta/CMakeLists.txt:64 (target_link_libraries):
  Target "citra_meta" links to:

    Qt6::GuiPrivate

  but the target was not found.
```

Signed-off-by: Marcin Serwin <[email protected]>
This commit is contained in:
Marcin Serwin
2026-01-20 21:33:41 +00:00
committed by OpenSauce
parent e9846de5be
commit 79d73bbcb9
+1
View File
@@ -63,6 +63,7 @@ if (ENABLE_QT AND UNIX AND NOT APPLE)
endif()
if (ENABLE_QT AND APPLE)
find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(citra_meta PRIVATE Qt6::GuiPrivate)
endif()