mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 15:49:28 -08:00
Mac client: translation path fix
This commit is contained in:
@@ -157,9 +157,9 @@ SET(cockatrice_HEADERS
|
||||
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\\")
|
||||
endif (UNIX)
|
||||
endif (UNIX AND NOT APPLE)
|
||||
|
||||
set(cockatrice_RESOURCES cockatrice.qrc)
|
||||
set(cockatrice_TS
|
||||
|
||||
@@ -5,7 +5,7 @@ DATE=`date '+%Y%m%d'`
|
||||
#QTDIR="/Users/brukie/QtSDK/Desktop/Qt/474/gcc"
|
||||
QTLIB="/Users/brukie/qt_leopard/lib"
|
||||
QTPLUGINS="/Users/brukie/qt_leopard/plugins"
|
||||
PROTOBUF="/Users/brukie/protobuf"
|
||||
PROTOBUF="/Users/brukie/protobuf_leopard"
|
||||
DIR=cockatrice_mac_$DATE
|
||||
if [ -d $DIR ]; then echo "delete old dir first"; exit 1; fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user