From: TMA Salome Date: Thu, 25 Feb 2016 14:45:06 +0000 (+0100) Subject: QT5 migration for CMakeLists X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FV8_main;p=tools%2Feficas.git QT5 migration for CMakeLists --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 43a5c347..378072b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)