]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
QT5 migration for CMakeLists V8_main origin/V8_main
authorTMA Salome <tma.edf@opencascade.com>
Thu, 25 Feb 2016 14:45:06 +0000 (15:45 +0100)
committerTMA Salome <tma.edf@opencascade.com>
Thu, 25 Feb 2016 14:45:06 +0000 (15:45 +0100)
CMakeLists.txt

index 43a5c3476c23be4520dcbd4b2abccb8817759641..378072b537921dc8727378fafd4d3f81f7cfb80a 100644 (file)
@@ -47,7 +47,9 @@ message ( STATUS "Using Python version ${PYTHON_VERSION}" )
 # Detection de QT5
 find_package (Qt5Core)
 find_package (Qt5Gui)
-#include( ${QT_USE_FILE} )
+find_package (Qt5LinguistTools)
+GET_TARGET_PROPERTY(QT_LRELEASE_EXECUTABLE Qt5::lrelease LOCATION)
+MARK_AS_ADVANCED(QT_LRELEASE_EXECUTABLE)
 
 # Detection de PyQt5
 if (NOT PYQT5_FOUND)