cleanup
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
7a12441d25
commit
d3fcee21d0
1 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
||||||
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
find_package(Qt6 REQUIRED COMPONENTS Core)
|
|
||||||
find_package(Qt6 REQUIRED COMPONENTS Core)
|
find_package(Qt6 REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
add_library(qt_common STATIC
|
add_library(qt_common STATIC
|
||||||
|
@ -25,9 +24,13 @@ add_library(qt_common STATIC
|
||||||
)
|
)
|
||||||
|
|
||||||
create_target_directory_groups(qt_common)
|
create_target_directory_groups(qt_common)
|
||||||
target_link_libraries(qt_common PUBLIC core Qt6::Widgets SimpleIni::SimpleIni QuaZip::QuaZip)
|
|
||||||
target_link_libraries(qt_common PRIVATE Qt6::Core)
|
# TODO(crueter)
|
||||||
target_link_libraries(qt_common PRIVATE Qt6::Core)
|
if (ENABLE_QT)
|
||||||
|
target_link_libraries(qt_common PRIVATE Qt6::Widgets)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
target_link_libraries(qt_common PUBLIC core Qt6::Core SimpleIni::SimpleIni QuaZip::QuaZip)
|
||||||
|
|
||||||
if (NOT WIN32)
|
if (NOT WIN32)
|
||||||
target_include_directories(qt_common PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
|
target_include_directories(qt_common PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue