diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-28 02:03:53 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-28 04:23:48 +0100 |
commit | 7652b3d64a63c587f520633364412345083210d4 (patch) | |
tree | 12d98c301aa931f20aee0875242bc762cf4d22d1 /CMakeLists.txt | |
parent | 30d4f5981d3220386bd320534048594fc364d0e9 (diff) | |
download | MultiMC-7652b3d64a63c587f520633364412345083210d4.tar MultiMC-7652b3d64a63c587f520633364412345083210d4.tar.gz MultiMC-7652b3d64a63c587f520633364412345083210d4.tar.lz MultiMC-7652b3d64a63c587f520633364412345083210d4.tar.xz MultiMC-7652b3d64a63c587f520633364412345083210d4.zip |
Various updater fixes
Updater tests for path utils
The updater now doesn't use splitpath on Windows (fixes problems with Windows XP)
Fix up paths for the OSX updater - should now install the updates into the right place
Fix translations install path - translation isntall and deploy should be fixed
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b371aa9..7c8087cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -662,8 +662,12 @@ ELSE() ENDIF() add_custom_target (translations DEPENDS ${QM_FILES}) +IF(APPLE AND UNIX) ## OSX + install(FILES ${QM_FILES} DESTINATION MultiMC.app/Contents/MacOS/translations) +ELSE() + install(FILES ${QM_FILES} DESTINATION translations) +ENDIF() -install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/translations) # Tests add_subdirectory(tests) |