build(room): simplify yuzu-room installation

CMake is able to automatically install binaries in the correct location. Also see my older patch, 6f16891f43

Cc: @FearlessTobi
This commit is contained in:
Andrea Pappacoda 2022-09-22 21:51:56 +02:00 committed by GitHub
parent fa7daaf171
commit c7832866b3

View file

@ -23,5 +23,5 @@ endif()
target_link_libraries(yuzu-room PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
if(UNIX AND NOT APPLE)
install(TARGETS yuzu-room RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
install(TARGETS yuzu-room)
endif()