summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-10-30 16:16:02 +0200
committerAndreas Kling <kling@serenityos.org>2021-11-10 14:42:49 +0100
commit46aa477b8faa4cf4b5e295f96cb14e93e2dc8355 (patch)
treef1433ccb8d941457d9d4e3c1a838d83d0b1852b8 /Meta/CMake
parent9af5d1d7cdb57cc6eb2113003b1ac2754577b5b2 (diff)
downloadserenity-46aa477b8faa4cf4b5e295f96cb14e93e2dc8355.zip
CMake: Remove unused serenity_shared_lib function
Diffstat (limited to 'Meta/CMake')
-rw-r--r--Meta/CMake/utils.cmake10
1 files changed, 0 insertions, 10 deletions
diff --git a/Meta/CMake/utils.cmake b/Meta/CMake/utils.cmake
index 9d32ca02e9..10ba84a1ce 100644
--- a/Meta/CMake/utils.cmake
+++ b/Meta/CMake/utils.cmake
@@ -39,16 +39,6 @@ function(serenity_lib target_name fs_name)
serenity_generated_sources(${target_name})
endfunction()
-function(serenity_shared_lib target_name fs_name)
- serenity_install_headers(${target_name})
- serenity_install_sources("Userland/Libraries/${target_name}")
- add_library(${target_name} SHARED ${SOURCES} ${GENERATED_SOURCES})
- set_target_properties(${target_name} PROPERTIES EXCLUDE_FROM_ALL TRUE)
- install(TARGETS ${target_name} DESTINATION usr/lib OPTIONAL)
- set_target_properties(${target_name} PROPERTIES OUTPUT_NAME ${fs_name})
- serenity_generated_sources(${target_name})
-endfunction()
-
function(serenity_libc target_name fs_name)
serenity_install_headers("")
serenity_install_sources("Userland/Libraries/LibC")