From c6296e6e143fa214fb2c845905d2c80d3c5705b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Vialon?= Date: Fri, 15 Aug 2014 16:59:22 +0200 Subject: [PATCH] To allow the SDK path choice to user during demosntration configuration. --- Installation/cmake/modules/FindQt5.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Installation/cmake/modules/FindQt5.cmake b/Installation/cmake/modules/FindQt5.cmake index a5a7771cce7..0b174df04dd 100644 --- a/Installation/cmake/modules/FindQt5.cmake +++ b/Installation/cmake/modules/FindQt5.cmake @@ -118,10 +118,10 @@ if(WIN32) if ( NOT WIN_SDK_PATH ) MESSAGE("Qt5 on Windows needs Windows SDK.") - - FIND_PATH ( WIN_SDK_PATH WIN_SDK_PATH) endif() + SET(WIN_SDK_PATH ${WIN_SDK_PATH} CACHE FILEPATH "Path to the Windows SDK folder") + SET(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${WIN_SDK_PATH}) MESSAGE( STATUS "Windows SDK path : ${WIN_SDK_PATH}")