From 6a325e4c94cabce925e8c8441d5cbc2408d16de8 Mon Sep 17 00:00:00 2001 From: tt2468 Date: Sun, 6 Jun 2021 00:15:43 -0700 Subject: [PATCH] CMakeLists: Link Qt5::Svg Fixes help icon not showing on Windows --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 595e5acb..accb6a92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ find_package(LibObs REQUIRED) # Find Qt5 -find_package(Qt5 REQUIRED COMPONENTS Core Widgets Network Concurrent) +find_package(Qt5 REQUIRED COMPONENTS Core Widgets Svg Concurrent Network) # Find nlohmann @@ -125,8 +125,9 @@ include_directories( "${LIBOBS_INCLUDE_DIR}/../UI/obs-frontend-api" ${Qt5Core_INCLUDES} ${Qt5Widgets_INCLUDES} - ${Qt5Network_INCLUDES} + ${Qt5Svg_INCLUDES} ${Qt5Concurrent_INCLUDES} + ${Qt5Network_INCLUDES} "${CMAKE_SOURCE_DIR}/deps/asio/asio/include" "${CMAKE_SOURCE_DIR}/deps/websocketpp") @@ -134,8 +135,9 @@ target_link_libraries(obs-websocket libobs Qt5::Core Qt5::Widgets - Qt5::Network + Qt5::Svg Qt5::Concurrent + Qt5::Network nlohmann_json::nlohmann_json)