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
)
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