diff options
| -rw-r--r-- | src/citra/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/citra_qt/CMakeLists.txt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt index 713f49193..5e8cbfa35 100644 --- a/src/citra/CMakeLists.txt +++ b/src/citra/CMakeLists.txt | |||
| @@ -18,4 +18,6 @@ target_link_libraries(citra core common video_core) | |||
| 18 | target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih) | 18 | target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih) |
| 19 | target_link_libraries(citra ${PLATFORM_LIBRARIES}) | 19 | target_link_libraries(citra ${PLATFORM_LIBRARIES}) |
| 20 | 20 | ||
| 21 | #install(TARGETS citra RUNTIME DESTINATION ${bindir}) | 21 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") |
| 22 | install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") | ||
| 23 | endif() | ||
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index c2d1ad240..d4c0cecc3 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt | |||
| @@ -73,7 +73,9 @@ target_link_libraries(citra-qt core common video_core qhexedit) | |||
| 73 | target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) | 73 | target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) |
| 74 | target_link_libraries(citra-qt ${PLATFORM_LIBRARIES}) | 74 | target_link_libraries(citra-qt ${PLATFORM_LIBRARIES}) |
| 75 | 75 | ||
| 76 | #install(TARGETS citra-qt RUNTIME DESTINATION ${bindir}) | 76 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") |
| 77 | install(TARGETS citra-qt RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") | ||
| 78 | endif() | ||
| 77 | 79 | ||
| 78 | if (Qt5_FOUND AND MSVC) | 80 | if (Qt5_FOUND AND MSVC) |
| 79 | set(Qt5_DLL_DIR "${Qt5_DIR}/../../../bin") | 81 | set(Qt5_DLL_DIR "${Qt5_DIR}/../../../bin") |