diff options
author | Andrew Okin <forkk@ciserver.forkk.net> | 2013-02-06 00:37:51 -0600 |
---|---|---|
committer | Andrew Okin <forkk@forkk.net> | 2013-02-06 00:38:28 -0600 |
commit | 814469eec6a28a0ed80dc0b70126399a67b4e92f (patch) | |
tree | 7e9b93060d40d1cfa2936ab99ba8d40cd5ffa3f5 /CMakeLists.txt | |
parent | 2f619e40436175b4fb30c449e43305039d87348a (diff) | |
download | PrismLauncher-814469eec6a28a0ed80dc0b70126399a67b4e92f.tar.gz PrismLauncher-814469eec6a28a0ed80dc0b70126399a67b4e92f.tar.bz2 PrismLauncher-814469eec6a28a0ed80dc0b70126399a67b4e92f.zip |
Added Linux support to CMakeLists.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cb9e6faa..aa9e39de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,7 +158,7 @@ add_executable(MultiMC ${MULTIMC_SOURCES} ${MULTIMC_HEADERS} ${MULTIMC_UI} ${MUL qt5_use_modules(MultiMC Widgets) target_link_libraries(MultiMC quazip patchlib ${MultiMC_LINK_ADDITIONAL_LIBS}) add_dependencies(MultiMC MultiMCLauncher) -install(TARGETS MultiMC RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}) +install(TARGETS MultiMC RUNTIME DESTINATION .) IF(WIN32) IF(CMAKE_BUILD_TYPE STREQUAL "Debug") @@ -169,7 +169,7 @@ ENDIF() install(FILES "${Qt5_DIR}/plugins/platforms/qwindows${D}.dll" DESTINATION platforms) install(FILES "${Qt5_DIR}/plugins/platforms/qminimal${D}.dll" DESTINATION platforms) -install(FILES "${Qt5_DIR}/bin/libEGL${D}.dll" DESTINATION ${CMAKE_INSTALL_PREFIX}) +install(FILES "${Qt5_DIR}/bin/libEGL${D}.dll" DESTINATION .) install(FILES "${Qt5_DIR}/plugins/imageformats/qsvg${D}.dll" DESTINATION imageformats) install(FILES "${Qt5_DIR}/plugins/imageformats/qico${D}.dll" DESTINATION imageformats) @@ -177,6 +177,14 @@ install(FILES "${Qt5_DIR}/plugins/imageformats/qgif${D}.dll" DESTINATION imagefo install(FILES "${Qt5_DIR}/plugins/imageformats/qjpeg${D}.dll" DESTINATION imageformats) ELSEIF(UNIX) +IF (APPLE) +ELSE() + +install(FILES "${Qt5_DIR}/plugins/platforms/libqlinuxfb.so" DESTINATION platforms) +install(FILES "${Qt5_DIR}/plugins/platforms/libqminimal.so" DESTINATION platforms) +install(FILES "${Qt5_DIR}/plugins/platforms/libqxcb.so" DESTINATION platforms) + +ENDIF() ENDIF() |