diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-28 05:53:39 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-28 05:53:39 +0200 |
commit | 34b6c8bd8853964fde3bcff95150af561415c26c (patch) | |
tree | 7ed6f8f857eb868958433b9dfd93be4b335b06a7 | |
parent | CMake: Stop using FindOpenGL, which seems to not be required anymore (diff) | |
download | yuzu-34b6c8bd8853964fde3bcff95150af561415c26c.tar yuzu-34b6c8bd8853964fde3bcff95150af561415c26c.tar.gz yuzu-34b6c8bd8853964fde3bcff95150af561415c26c.tar.bz2 yuzu-34b6c8bd8853964fde3bcff95150af561415c26c.tar.lz yuzu-34b6c8bd8853964fde3bcff95150af561415c26c.tar.xz yuzu-34b6c8bd8853964fde3bcff95150af561415c26c.tar.zst yuzu-34b6c8bd8853964fde3bcff95150af561415c26c.zip |
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/citra_qt/CMakeLists.txt | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5fd63fd16..238e92dcc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -223,7 +223,6 @@ if (ENABLE_QT) endif() find_package(Qt5 REQUIRED COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT}) - set(CITRA_QT_LIBS Qt5::Widgets Qt5::OpenGL) endif() # This function should be passed a list of all files in a target. It will automatically generate diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index 839ce600b..a70686286 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt @@ -92,7 +92,7 @@ else() add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) endif() 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) if(UNIX AND NOT APPLE) |