mirror of https://github.com/PCSX2/pcsx2.git
CMake: Require gettext for translations on macOS
MacOS uses modified po files, which means it can't use the precompiled mos
This commit is contained in:
parent
e2e8fdafb1
commit
176917caf4
|
@ -1658,6 +1658,10 @@ if (NOT APPLE)
|
|||
)
|
||||
endif()
|
||||
|
||||
if(APPLE AND NOT GETTEXT_FOUND AND NOT NO_TRANSLATION AND NOT PCSX2_CORE)
|
||||
message(FATAL_ERROR "MacOS cannot use the precompiled translation files. Please install gettext or disable translations with NO_TRANSLATION")
|
||||
endif()
|
||||
|
||||
# Translation files
|
||||
# CMake is dumb and can't properly associate custom command outputs with targets if they're made in different directories
|
||||
# So this has to be here (and not in a CMakeLists.txt file in locales/)
|
||||
|
|
Loading…
Reference in New Issue