summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/citra/CMakeLists.txt2
-rw-r--r--src/citra_qt/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9fc4f5675..c2fbfefb8 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
272if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") 272if(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"
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt
index 43fa06b4e..f9c488a1a 100644
--- a/src/citra/CMakeLists.txt
+++ b/src/citra/CMakeLists.txt
@@ -23,7 +23,7 @@ if (MSVC)
23endif() 23endif()
24target_link_libraries(citra ${PLATFORM_LIBRARIES} Threads::Threads) 24target_link_libraries(citra ${PLATFORM_LIBRARIES} Threads::Threads)
25 25
26if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") 26if(UNIX AND NOT APPLE)
27 install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") 27 install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
28endif() 28endif()
29 29
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt
index b3c01ddd8..384875450 100644
--- a/src/citra_qt/CMakeLists.txt
+++ b/src/citra_qt/CMakeLists.txt
@@ -104,7 +104,7 @@ target_link_libraries(citra-qt core video_core audio_core common qhexedit)
104target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) 104target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS})
105target_link_libraries(citra-qt ${PLATFORM_LIBRARIES} Threads::Threads) 105target_link_libraries(citra-qt ${PLATFORM_LIBRARIES} Threads::Threads)
106 106
107if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") 107if(UNIX AND NOT APPLE)
108 install(TARGETS citra-qt RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") 108 install(TARGETS citra-qt RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
109endif() 109endif()
110 110