From 094d429ff04eae0b9bfa3efdeaf9f5b3e1d798cd Mon Sep 17 00:00:00 2001 From: crueter Date: Thu, 12 Feb 2026 22:40:42 -0500 Subject: [PATCH] CMake: Use a single install(FILES) command for SteamRT No need for individual calls here. While doing this I also realized xxhash has this at one point, I guess I'll PR that there later Signed-off-by: crueter --- Source/Steam/CMakeLists.txt | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/Source/Steam/CMakeLists.txt b/Source/Steam/CMakeLists.txt index 03c15be67..1b99904db 100644 --- a/Source/Steam/CMakeLists.txt +++ b/Source/Steam/CMakeLists.txt @@ -16,19 +16,12 @@ install(TARGETS FEXServerManager RUNTIME DESTINATION bin COMPONENT Runtime) -# Description json gets installed into root of depot -install(FILES emulator.json - DESTINATION / - COMPONENT Runtime) -install(FILES ConfigTemplate.json - DESTINATION / - COMPONENT Runtime) -install(FILES toolmanifest.vdf - DESTINATION / - COMPONENT Runtime) - -# VERSION file installed in to root of depot +# Description json and VERSION files are installed into the depot root configure_file(VERSIONS.txt.in ${CMAKE_CURRENT_BINARY_DIR}/VERSIONS.txt) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSIONS.txt +install(FILES + ${CMAKE_CURRENT_BINARY_DIR}/VERSIONS.txt + ConfigTemplate.json + emulator.json + toolmanifest.vdf DESTINATION / COMPONENT Runtime)