summaryrefslogtreecommitdiff
path: root/src/citra
diff options
context:
space:
mode:
authorGravatar Emmanuel Gil Peyrot2015-07-09 20:19:02 +0100
committerGravatar Emmanuel Gil Peyrot2015-07-09 20:19:02 +0100
commit7c51bc44aabc4be0fbc26761637b56d6bf35da55 (patch)
treeaf01c6b5baf567fb7ab085842c17568982537604 /src/citra
parentMerge pull request #906 from aroulin/loader-format-specifier-warning (diff)
downloadyuzu-7c51bc44aabc4be0fbc26761637b56d6bf35da55.tar.gz
yuzu-7c51bc44aabc4be0fbc26761637b56d6bf35da55.tar.xz
yuzu-7c51bc44aabc4be0fbc26761637b56d6bf35da55.zip
Citra, CitraQt: Tell cmake to install the compiled binaries.
This will help packaging tremendously, as a `make DESTDIR=… install` will now put every file at their place (on Linux and related).
Diffstat (limited to 'src/citra')
-rw-r--r--src/citra/CMakeLists.txt4
1 files changed, 3 insertions, 1 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)
18target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih) 18target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih)
19target_link_libraries(citra ${PLATFORM_LIBRARIES}) 19target_link_libraries(citra ${PLATFORM_LIBRARIES})
20 20
21#install(TARGETS citra RUNTIME DESTINATION ${bindir}) 21if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")
22 install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
23endif()