mirror of
https://github.com/azahar-emu/azahar
synced 2025-11-06 23:19:57 +01:00
cmake: Fixed build issues on *nix introduced by Qt 6.10.0
This commit is contained in:
parent
068fec0d5f
commit
1f483e1d33
@ -279,11 +279,12 @@ endif()
|
||||
|
||||
if (NOT WIN32)
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
|
||||
if(Qt6_VERSION VERSION_GREATER_EQUAL "6.10.0")
|
||||
find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
|
||||
target_link_libraries(citra_qt PRIVATE Qt6::GuiPrivate)
|
||||
else()
|
||||
target_include_directories(citra_qt PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
target_link_libraries(citra_qt PRIVATE Qt6::GuiPrivate)
|
||||
endif()
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user