From 58746a08a11ec52f5b4ef031280c4a48e4d4cbff Mon Sep 17 00:00:00 2001 From: Itamar Date: Fri, 26 Nov 2021 15:53:46 +0200 Subject: [PATCH] CMake: Also install the source files of userland programs Previously, we only copied the source files of libraries to `/usr/src/serenity`. We now also install the source files of userland programs. --- Meta/CMake/utils.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Meta/CMake/utils.cmake b/Meta/CMake/utils.cmake index 27556f0e7a..fed0607882 100644 --- a/Meta/CMake/utils.cmake +++ b/Meta/CMake/utils.cmake @@ -75,6 +75,7 @@ function(serenity_libc_static target_name fs_name) endfunction() function(serenity_bin target_name) + serenity_install_sources() add_executable(${target_name} ${SOURCES}) set_target_properties(${target_name} PROPERTIES EXCLUDE_FROM_ALL TRUE) install(TARGETS ${target_name} RUNTIME DESTINATION bin OPTIONAL)