From ba83cec6fb58b339651f9f935ebf1f1f5fe00413 Mon Sep 17 00:00:00 2001 From: spycrab Date: Sun, 12 May 2019 00:41:45 +0200 Subject: [PATCH] Qt/CMake: Support MSVC w/ external CMake --- Source/Core/DolphinQt/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt index 2c1b59868e..a5042bfb76 100644 --- a/Source/Core/DolphinQt/CMakeLists.txt +++ b/Source/Core/DolphinQt/CMakeLists.txt @@ -1,3 +1,7 @@ +if (NOT Qt5_DIR AND MSVC) +set(Qt5_DIR "${CMAKE_SOURCE_DIR}/Externals/Qt5.11.1/5.11.1/msvc2017_64/lib/cmake/Qt5") +endif() + find_package(Qt5 5.9 REQUIRED COMPONENTS Gui Widgets) set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES "")