1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-02 01:16:32 -05:00

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).
This commit is contained in:
Emmanuel Gil Peyrot
2015-07-09 20:19:02 +01:00
parent ac7bc214ab
commit 7c51bc44aa
2 changed files with 6 additions and 2 deletions

View File

@@ -18,4 +18,6 @@ target_link_libraries(citra core common video_core)
target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih)
target_link_libraries(citra ${PLATFORM_LIBRARIES})
#install(TARGETS citra RUNTIME DESTINATION ${bindir})
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")
install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
endif()