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 <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin 2026-01-20 21:53:03 +01:00 committed by OpenSauce04
parent 0805711cba
commit b038cdaf86

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()