set localedir to relative...

...(no idea how the game will find it, probably some black magic...)

mgoe: please have a look at it to check if this is correct
This commit is contained in:
Nils Kneuper 2008-05-08 20:19:07 +00:00
parent d84f964389
commit fa07b0b582

View file

@ -91,8 +91,7 @@ if(NOT WIN32)
message("set -DWESNOTH_PATH='\"${DATADIR}\"'")
endif(NOT WIN32)
add_definitions(-DLOCALEDIR='\"${LOCALEDIR}\"')
message("set -DLOCALEDIR='\"${LOCALEDIR}\"'")
add_definitions(-DHAS_RELATIVE_LOCALEDIR)
set(LOCALE_INSTALL ${LOCALEDIR})
if(PREFERENCES_DIR)