add one missed cmake windows quoting fix
Also quote LOCALEDIR with as \\\""${LOCALEDIR}"\\\", just like the other defs are quoted. This fixes the build on msys2.
This commit is contained in:
parent
b4ba9d9d65
commit
d6c1b53653
|
@ -237,7 +237,7 @@ ENDIF( NOT ENABLE_ASM_CORE )
|
||||||
if( ENABLE_NLS )
|
if( ENABLE_NLS )
|
||||||
SET( LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale )
|
SET( LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale )
|
||||||
ADD_DEFINITIONS ( -DENABLE_NLS )
|
ADD_DEFINITIONS ( -DENABLE_NLS )
|
||||||
ADD_DEFINITIONS ( -DLOCALEDIR=\\\"${LOCALEDIR}\\\" )
|
ADD_DEFINITIONS ( -DLOCALEDIR=\\\""${LOCALEDIR}"\\\" )
|
||||||
# for now, only GBALink.cpp uses gettext() directly
|
# for now, only GBALink.cpp uses gettext() directly
|
||||||
IF(APPLE)
|
IF(APPLE)
|
||||||
# use Homebrew gettext if available
|
# use Homebrew gettext if available
|
||||||
|
|
Loading…
Reference in New Issue