diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-08 21:06:31 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-08 21:06:31 +0100 |
commit | 5650a28fc6b51d79a388f9b7db5ecfec43852c84 (patch) | |
tree | fe518d2616ae7639c36e4afeab4ee5bac93b07d0 | |
parent | 9bf4d087703d1c8b862a205b38191fb4fcbc0ad9 (diff) | |
download | MultiMC-5650a28fc6b51d79a388f9b7db5ecfec43852c84.tar MultiMC-5650a28fc6b51d79a388f9b7db5ecfec43852c84.tar.gz MultiMC-5650a28fc6b51d79a388f9b7db5ecfec43852c84.tar.lz MultiMC-5650a28fc6b51d79a388f9b7db5ecfec43852c84.tar.xz MultiMC-5650a28fc6b51d79a388f9b7db5ecfec43852c84.zip |
Hopefully fix OSX icon file
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c795ab8..c5c23235 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -526,13 +526,6 @@ ENDIF() ################################ COMPILE ################################ -# ICNS file for OS X -IF(APPLE) - SET(MACOSX_BUNDLE_ICON_FILE MultiMC.icns) - SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/MultiMC.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources) - SET(MULTIMC_SOURCES ${MULTIMC_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/MultiMC.icns) -ENDIF(APPLE) - # Link additional libraries IF(WIN32) SET(MultiMC_LINK_ADDITIONAL_LIBS ${MultiMC_LINK_ADDITIONAL_LIBS} @@ -661,6 +654,11 @@ FILE(WRITE \"\${CMAKE_INSTALL_PREFIX}/${QTCONF_DEST_DIR}/qt.conf\" \"\") COMPONENT Runtime ) +# ICNS file for OS X +IF(APPLE) + INSTALL(FILES MultiMC.icns DESTINATION MultiMC.app/Contents/Resources) +ENDIF() + CONFIGURE_FILE( "${CMAKE_CURRENT_SOURCE_DIR}/install_prereqs.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/install_prereqs.cmake" |