From: vsr Date: Wed, 13 Jan 2016 10:26:55 +0000 (+0300) Subject: Allow Qt5 package to be detected in CONFIG mode (for usage in config files) X-Git-Tag: V8_0_0a2^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f450d697bcf210f9902abcaeb68cd6a438f619b1;p=modules%2Fgui.git Allow Qt5 package to be detected in CONFIG mode (for usage in config files) --- diff --git a/adm_local/cmake_files/FindSalomeQt5.cmake b/adm_local/cmake_files/FindSalomeQt5.cmake index e3d769460..647399710 100644 --- a/adm_local/cmake_files/FindSalomeQt5.cmake +++ b/adm_local/cmake_files/FindSalomeQt5.cmake @@ -65,5 +65,7 @@ IF(Qt5Core_FOUND) SALOME_ACCUMULATE_ENVIRONMENT(PATH ${LINGUIST_PATH}) SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${Qt5Core_LIBRARIES}) SET(QT_VERSION "${Qt5Core_VERSION}") + SET(Qt5_DIR ${Qt5Core_DIR}) + SET(SalomeQt5_COMPONENTS ${Qt5_FIND_COMPONENTS}) MESSAGE(STATUS "Qt version is ${QT_VERSION}") ENDIF()