We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dbabe6 commit 9525d38Copy full SHA for 9525d38
src/CMakeLists.txt
@@ -55,7 +55,9 @@ file(GLOB TS LIST_DIRECTORIES false translations/${CMD_NAME}*.ts)
55
set_source_files_properties(${TS}
56
PROPERTIES OUTPUT_LOCATION ${PROJECT_SOURCE_DIR}/src/translations)
57
58
-qt5_create_translation(QM ${SRCS} ${TS})
+if (NOT (${CMAKE_BUILD_TYPE} MATCHES "Debug"))
59
+ qt5_create_translation(QM ${SRCS} ${TS})
60
+endif ()
61
# ~
62
63
add_executable(${CMD_NAME} ${SRCS} ${RCS} ${QM})
0 commit comments