mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-02 22:30:24 -07:00
mac fixes
This commit is contained in:
parent
61f5cd478d
commit
875610e1b3
4 changed files with 15 additions and 9 deletions
|
|
@ -156,6 +156,9 @@ endif (UNIX)
|
|||
if (WIN32)
|
||||
set_source_files_properties(src/main.cpp PROPERTIES COMPILE_FLAGS -DTRANSLATION_PATH=\\"translations\\")
|
||||
endif (WIN32)
|
||||
if (APPLE)
|
||||
set_source_files_properties(src/main.cpp PROPERTIES COMPILE_FLAGS -DTRANSLATION_PATH=\\"../../../translations\\")
|
||||
endif (APPLE)
|
||||
|
||||
set(cockatrice_RESOURCES cockatrice.qrc)
|
||||
set(cockatrice_TS
|
||||
|
|
@ -179,9 +182,9 @@ if(WIN32)
|
|||
endif(WIN32)
|
||||
|
||||
if(APPLE)
|
||||
set(OSX_ICON_FILES ${CMAKE_CURRENT_SOURCE_DIR}/resources/appicon.icns)
|
||||
set_source_files_properties(${OSX_ICON_FILES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||
set( cockatrice_SOURCES ${cockatrice_SOURCES} ${OSX_ICON_FILES} )
|
||||
set(MACOSX_BUNDLE_ICON_FILE appicon.icns)
|
||||
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/resources/appicon.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||
set(cockatrice_SOURCES ${cockatrice_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/resources/appicon.icns)
|
||||
ENDIF(APPLE)
|
||||
SET(QT_USE_QTNETWORK TRUE)
|
||||
SET(QT_USE_QTSCRIPT TRUE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue