From 91eacf7d3cb02f577496d1f15b253dd6c7964469 Mon Sep 17 00:00:00 2001 From: NissimHadar Date: Wed, 24 Apr 2019 18:02:39 -0700 Subject: [PATCH] Added message to know Qt path. --- cmake/macros/SetupQt.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmake/macros/SetupQt.cmake b/cmake/macros/SetupQt.cmake index fafed63e88..6407aaaf04 100644 --- a/cmake/macros/SetupQt.cmake +++ b/cmake/macros/SetupQt.cmake @@ -11,8 +11,11 @@ macro(setup_qt) # if we are in a development build and QT_CMAKE_PREFIX_PATH is specified # then use it, # otherwise, use the vcpkg'ed version - if (RELEASE_TYPE STREQUAL "DEV" AND DEFINED ENV{QT_CMAKE_PREFIX_PATH} ) + if (RELEASE_TYPE STREQUAL "DEV" AND DEFINED ENV{QT_CMAKE_PREFIX_PATH}) + message("Development build and QT_CMAKE_PREFIX_PATH is defined in environment - using this path for Qt") set(QT_CMAKE_PREFIX_PATH $ENV{QT_CMAKE_PREFIX_PATH}) + else() + message(" Using vcpkg'ed version of Qt") endif() # figure out where the qt dir is