]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
Fix error in previous commit - wrong result QM files extensions. V8_1_0b1
authorvsr <vsr@opencascade.com>
Fri, 12 Aug 2016 10:34:54 +0000 (13:34 +0300)
committervsr <vsr@opencascade.com>
Fri, 12 Aug 2016 10:34:54 +0000 (13:34 +0300)
cmake/UseQtExt.cmake

index c400c096d8af7e4c6b48c26dec4364bd887fef7d..1041d32862c908d0e767507de73a7ed312854904 100644 (file)
@@ -28,7 +28,7 @@ ENDIF()
 # installdir contains directory (relative to install_prefix) where to install files after compilation of ts files too qm.
 MACRO(QT_INSTALL_TS_RESOURCES tsfiles installdir)
   FOREACH(_input ${tsfiles})
-    GET_FILENAME_COMPONENT(_name ${_input} NAME)
+    GET_FILENAME_COMPONENT(_name ${_input} NAME_WE)
     SET(_output ${CMAKE_CURRENT_BINARY_DIR}/${_name}.qm)
     SET(_cmd_${_name} ${QT_LRELEASE_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${_input} -qm ${_output})
     ADD_CUSTOM_TARGET(QT_INSTALL_TS_RESOURCES_${_name} ALL COMMAND ${_cmd_${_name}} DEPENDS ${_input})