mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-16 22:47:06 +00:00
CMake: Remove CITRA_QT_LIBS var
This used to be required to support both Qt4 and Qt5, but we dropped Qt4 so it's not needed anymore.
This commit is contained in:
parent
089baa04e8
commit
34b6c8bd88
@ -223,7 +223,6 @@ if (ENABLE_QT)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Qt5 REQUIRED COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT})
|
find_package(Qt5 REQUIRED COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT})
|
||||||
set(CITRA_QT_LIBS Qt5::Widgets Qt5::OpenGL)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# This function should be passed a list of all files in a target. It will automatically generate
|
# This function should be passed a list of all files in a target. It will automatically generate
|
||||||
|
@ -92,7 +92,7 @@ else()
|
|||||||
add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
|
add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(citra-qt PRIVATE audio_core common core input_common video_core)
|
target_link_libraries(citra-qt PRIVATE audio_core common core input_common video_core)
|
||||||
target_link_libraries(citra-qt PRIVATE ${CITRA_QT_LIBS} Boost::boost glad)
|
target_link_libraries(citra-qt PRIVATE Boost::boost glad Qt5::OpenGL Qt5::Widgets)
|
||||||
target_link_libraries(citra-qt PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
target_link_libraries(citra-qt PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user