102 | | add_executable(qgit ${CPP_SOURCES} ${UIS_HDRS} ${RC_SRCS}) |
| 102 | if(APPLE) |
| 103 | set(MACOSX_BUNDLE_ICON_FILE qgit.icns) |
| 104 | set(ICON ${CMAKE_CURRENT_SOURCE_DIR}/src/resources/qgit.icns) |
| 105 | set_source_files_properties(${ICON} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources") |
| 106 | add_executable(qgit MACOSX_BUNDLE ${CPP_SOURCES} ${UIS_HDRS} ${RC_SRCS} ${ICON}) |
| 107 | set_target_properties(qgit PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE) |
| 108 | set_target_properties(qgit PROPERTIES MACOSX_BUNDLE_ICON_FILE qgit.icns ) |
| 109 | set_target_properties(qgit PROPERTIES MACOSX_BUNDLE_LONG_VERSION_STRING @VERSION@ ) |
| 110 | set_target_properties(qgit PROPERTIES MACOSX_BUNDLE_SHORT_VERSION_STRING @VERSION@ ) |
| 111 | set_target_properties(qgit PROPERTIES MACOSX_BUNDLE_BUNDLE_VERSION @VERSION@ ) |
| 112 | elseif() |
| 113 | add_executable(qgit ${CPP_SOURCES} ${UIS_HDRS} ${RC_SRCS}) |
| 114 | endif() |