summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-08 21:06:31 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-08 21:06:31 +0100
commit5650a28fc6b51d79a388f9b7db5ecfec43852c84 (patch)
treefe518d2616ae7639c36e4afeab4ee5bac93b07d0
parent9bf4d087703d1c8b862a205b38191fb4fcbc0ad9 (diff)
downloadMultiMC-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.txt12
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"