Mac client: translation path fix

This commit is contained in:
Max-Wilhelm Bruker 2012-06-27 21:44:49 +02:00
parent c7131e3a1d
commit 7938171aca
2 changed files with 3 additions and 3 deletions

View file

@ -157,9 +157,9 @@ SET(cockatrice_HEADERS
src/pending_command.h src/pending_command.h
) )
if (UNIX) if (UNIX AND NOT APPLE)
set_source_files_properties(src/main.cpp PROPERTIES COMPILE_FLAGS -DTRANSLATION_PATH=\\"${CMAKE_INSTALL_PREFIX}/share/cockatrice/translations\\") set_source_files_properties(src/main.cpp PROPERTIES COMPILE_FLAGS -DTRANSLATION_PATH=\\"${CMAKE_INSTALL_PREFIX}/share/cockatrice/translations\\")
endif (UNIX) endif (UNIX AND NOT APPLE)
set(cockatrice_RESOURCES cockatrice.qrc) set(cockatrice_RESOURCES cockatrice.qrc)
set(cockatrice_TS set(cockatrice_TS

View file

@ -5,7 +5,7 @@ DATE=`date '+%Y%m%d'`
#QTDIR="/Users/brukie/QtSDK/Desktop/Qt/474/gcc" #QTDIR="/Users/brukie/QtSDK/Desktop/Qt/474/gcc"
QTLIB="/Users/brukie/qt_leopard/lib" QTLIB="/Users/brukie/qt_leopard/lib"
QTPLUGINS="/Users/brukie/qt_leopard/plugins" QTPLUGINS="/Users/brukie/qt_leopard/plugins"
PROTOBUF="/Users/brukie/protobuf" PROTOBUF="/Users/brukie/protobuf_leopard"
DIR=cockatrice_mac_$DATE DIR=cockatrice_mac_$DATE
if [ -d $DIR ]; then echo "delete old dir first"; exit 1; fi if [ -d $DIR ]; then echo "delete old dir first"; exit 1; fi