diff options
| author | 2016-10-10 05:58:05 +0000 | |
|---|---|---|
| committer | 2016-10-27 23:28:30 +0000 | |
| commit | 2240cb2eb0178d16c7713b6084a7013e283e268b (patch) | |
| tree | e74927977c9552a392ef03638354373511dcbc3e /src | |
| parent | build: clock_gettime() is in libc on BSDs (diff) | |
| download | yuzu-2240cb2eb0178d16c7713b6084a7013e283e268b.tar.gz yuzu-2240cb2eb0178d16c7713b6084a7013e283e268b.tar.xz yuzu-2240cb2eb0178d16c7713b6084a7013e283e268b.zip | |
build: add default install for DragonFly, Solaris, etc.
Diffstat (limited to '')
| -rw-r--r-- | src/citra/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/citra_qt/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
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) | |||
| 23 | endif() | 23 | endif() |
| 24 | target_link_libraries(citra ${PLATFORM_LIBRARIES} Threads::Threads) | 24 | target_link_libraries(citra ${PLATFORM_LIBRARIES} Threads::Threads) |
| 25 | 25 | ||
| 26 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") | 26 | if(UNIX AND NOT APPLE) |
| 27 | install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") | 27 | install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") |
| 28 | endif() | 28 | endif() |
| 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) | |||
| 104 | target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) | 104 | target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) |
| 105 | target_link_libraries(citra-qt ${PLATFORM_LIBRARIES} Threads::Threads) | 105 | target_link_libraries(citra-qt ${PLATFORM_LIBRARIES} Threads::Threads) |
| 106 | 106 | ||
| 107 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") | 107 | if(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") |
| 109 | endif() | 109 | endif() |
| 110 | 110 | ||