OPTIONS -extensions cpp -no-recursive
)
ELSE(${UPDATE_TRANSLATION})
- QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+ IF(${MAKE_TRANSLATION})
+ QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+ ENDIF(${MAKE_TRANSLATION})
ENDIF(${UPDATE_TRANSLATION})
SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
OPTIONS -extensions cpp -no-recursive
)
ELSE(${UPDATE_TRANSLATION})
- QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+ IF(${MAKE_TRANSLATION})
+ QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+ ENDIF(${MAKE_TRANSLATION})
ENDIF(${UPDATE_TRANSLATION})
SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
OPTIONS -extensions cpp -no-recursive
)
ELSE(${UPDATE_TRANSLATION})
- QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+ IF(${MAKE_TRANSLATION})
+ QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+ ENDIF(${MAKE_TRANSLATION})
ENDIF(${UPDATE_TRANSLATION})
OPTIONS -extensions cpp -no-recursive
)
ELSE(${UPDATE_TRANSLATION})
- QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+ IF(${MAKE_TRANSLATION})
+ QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+ ENDIF(${MAKE_TRANSLATION})
ENDIF(${UPDATE_TRANSLATION})