From dcb52867f290eacb39330ac820dc30975dcc0ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Sun, 17 Apr 2022 19:00:27 +0200 Subject: [PATCH] Do not generate translations (by default) for libraries. --- mo2_cpp.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mo2_cpp.cmake b/mo2_cpp.cmake index 860679d..13c9397 100644 --- a/mo2_cpp.cmake +++ b/mo2_cpp.cmake @@ -216,7 +216,7 @@ endfunction() # extra arguments are given to mo2_configure_target # function(mo2_configure_library MO2_TARGET) - mo2_configure_target(${MO2_TARGET} AUTOMOC OFF ${ARGN}) + mo2_configure_target(${MO2_TARGET} AUTOMOC OFF TRANSLATIONS OFF ${ARGN}) get_target_property(TARGET_TYPE ${MO2_TARGET} TYPE)