]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Allow Qt5 package to be detected in CONFIG mode (for usage in config files)
authorvsr <vsr@opencascade.com>
Wed, 13 Jan 2016 10:26:55 +0000 (13:26 +0300)
committervsr <vsr@opencascade.com>
Wed, 13 Jan 2016 10:26:55 +0000 (13:26 +0300)
adm_local/cmake_files/FindSalomeQt5.cmake

index e3d7694604dc3e217ab2d8fd8950b7100ed0ad74..64739971096553d7070e2fd66eaf931263ae8827 100644 (file)
@@ -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()