diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-19 04:52:34 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-19 04:52:34 +0100 |
commit | d8413fa5ec594455b3cdec86899b61adba39eb33 (patch) | |
tree | b9ece71804389f66b4a241edc59b8309c7729de2 /CMakeLists.txt | |
parent | e6ab57b8b1275137d873c0c465aeffe61c13c324 (diff) | |
download | MultiMC-d8413fa5ec594455b3cdec86899b61adba39eb33.tar MultiMC-d8413fa5ec594455b3cdec86899b61adba39eb33.tar.gz MultiMC-d8413fa5ec594455b3cdec86899b61adba39eb33.tar.lz MultiMC-d8413fa5ec594455b3cdec86899b61adba39eb33.tar.xz MultiMC-d8413fa5ec594455b3cdec86899b61adba39eb33.zip |
Use icon theme so we can have more than one icon size per icon
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c0a4439b..f2ccdab0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -519,6 +519,12 @@ gui/widgets/MCModInfoFrame.ui set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${MULTIMC_SOURCES} ${MULTIMC_UIS}) +SET(MULTIMC_QRCS +resources/backgrounds/backgrounds.qrc +resources/multimc/multimc.qrc +resources/instances/instances.qrc +) + ######## Windows resource files ######## IF(WIN32) @@ -562,10 +568,10 @@ ENDIF(MultiMC_CODE_COVERAGE) # Qt 5 stuff QT5_WRAP_UI(MULTIMC_UI ${MULTIMC_UIS}) -QT5_ADD_RESOURCES(GRAPHICS_QRC graphics.qrc) +QT5_ADD_RESOURCES(MULTIMC_RESOURCES ${MULTIMC_QRCS}) # Add common library -ADD_LIBRARY(MultiMC_common STATIC ${MULTIMC_SOURCES} ${MULTIMC_UI} ${GRAPHICS_QRC}) +ADD_LIBRARY(MultiMC_common STATIC ${MULTIMC_SOURCES} ${MULTIMC_UI} ${MULTIMC_RESOURCES}) # Add executable ADD_EXECUTABLE(MultiMC MACOSX_BUNDLE WIN32 main.cpp ${MULTIMC_RCS}) |