diff options
| author | 2016-10-10 05:58:05 +0000 | |
|---|---|---|
| committer | 2016-10-27 23:28:30 +0000 | |
| commit | 8b833d3a97712de3d547123bd4399ba8b530e2ac (patch) | |
| tree | 6a86a54281d890510fb603ec71bd647818509488 | |
| parent | build: add default install for DragonFly, Solaris, etc. (diff) | |
| download | yuzu-8b833d3a97712de3d547123bd4399ba8b530e2ac.tar.gz yuzu-8b833d3a97712de3d547123bd4399ba8b530e2ac.tar.xz yuzu-8b833d3a97712de3d547123bd4399ba8b530e2ac.zip | |
build: don't install freedesktop.org metadata for SDL2-only builds
Citra SDL2 doesn't have a launcher, and citra.desktop tries to execute
citra-qt which is N/A unless built with ENABLE_QT. Limiting installed
files to one of the options also makes it easier to split them into
separate non-conflicting packages downstream.
Diffstat (limited to '')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c2fbfefb8..26dec8f86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -269,7 +269,7 @@ add_subdirectory(src) | |||
| 269 | # http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html | 269 | # http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html |
| 270 | # http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html | 270 | # http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html |
| 271 | # http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html | 271 | # http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html |
| 272 | if(UNIX AND NOT APPLE) | 272 | if(ENABLE_QT AND UNIX AND NOT APPLE) |
| 273 | install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop" | 273 | install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop" |
| 274 | DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications") | 274 | DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications") |
| 275 | install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg" | 275 | install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg" |