From 6fa4e4ebd8fd48acefcefc4e07ed885f5ce2548f Mon Sep 17 00:00:00 2001 From: TMA Salome Date: Thu, 25 Feb 2016 15:45:06 +0100 Subject: [PATCH] QT5 migration for CMakeLists --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.39.2