--- gui/po/CMakeLists.txt.orig 2017-02-18 21:40:07 UTC +++ gui/po/CMakeLists.txt @@ -1,6 +1,9 @@ -message("Configuring langs") -include(Gettext) +option(DISABLE_NLS_TRANSLATIONS "Disable building additional NLS translations" OFF) +if(NOT DISABLE_NLS_TRANSLATIONS) + message("Configuring langs") + include(Gettext) -#find_package(LibArchive REQUIRED) + #find_package(LibArchive REQUIRED) -GETTEXT_CREATE_TRANSLATIONS(pcsxr.pot ALL es fr hu it ko_KR pt_BR ru zh_CN zh_TW) + GETTEXT_CREATE_TRANSLATIONS(pcsxr.pot ALL es fr hu it ko_KR pt_BR ru zh_CN zh_TW) +endif()