summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-03-19 13:54:58 -0600
committerAndreas Kling <kling@serenityos.org>2022-05-02 01:46:18 +0200
commita6b2c3474658038e77f3d5190828a796f7008b66 (patch)
treef08e4e14202d672fa503629849633663fa205014
parent3c80a4caeb4f547dcc9d27b89d119ce4e54aa23a (diff)
downloadserenity-a6b2c3474658038e77f3d5190828a796f7008b66.zip
Meta: Remove unused serenity_libc_static helper function
-rw-r--r--Meta/CMake/utils.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/Meta/CMake/utils.cmake b/Meta/CMake/utils.cmake
index 7ca540f5c3..576de93346 100644
--- a/Meta/CMake/utils.cmake
+++ b/Meta/CMake/utils.cmake
@@ -78,17 +78,6 @@ function(serenity_libc target_name fs_name)
serenity_generated_sources(${target_name})
endfunction()
-function(serenity_libc_static target_name fs_name)
- serenity_install_headers("")
- serenity_install_sources("Userland/Libraries/LibC")
- add_library(${target_name} ${SOURCES})
- set_target_properties(${target_name} PROPERTIES EXCLUDE_FROM_ALL TRUE)
- install(TARGETS ${target_name} ARCHIVE DESTINATION usr/lib OPTIONAL)
- set_target_properties(${target_name} PROPERTIES OUTPUT_NAME ${fs_name})
- target_link_directories(${target_name} PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
- serenity_generated_sources(${target_name})
-endfunction()
-
function(serenity_bin target_name)
serenity_install_sources()
add_executable(${target_name} ${SOURCES})