summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-12 12:17:30 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-12 12:17:46 +0100
commit13d7c09125f8eec703d0a43a9a87fc8aa08f7319 (patch)
tree70fd643c429cea5c1f9362c2674511d17a53f3b5 /Meta/CMake
parentdc28c07fa526841e05e16161c74a6c23984f1dd5 (diff)
downloadserenity-13d7c09125f8eec703d0a43a9a87fc8aa08f7319.zip
Libraries: Move to Userland/Libraries/
Diffstat (limited to 'Meta/CMake')
-rw-r--r--Meta/CMake/utils.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Meta/CMake/utils.cmake b/Meta/CMake/utils.cmake
index 4145aef4eb..886b79f166 100644
--- a/Meta/CMake/utils.cmake
+++ b/Meta/CMake/utils.cmake
@@ -26,7 +26,7 @@ endfunction()
function(serenity_lib target_name fs_name)
serenity_install_headers(${target_name})
- serenity_install_sources("Libraries/${target_name}")
+ serenity_install_sources("Userland/Libraries/${target_name}")
#add_library(${target_name} SHARED ${SOURCES} ${GENERATED_SOURCES})
add_library(${target_name} SHARED ${SOURCES} ${GENERATED_SOURCES})
install(TARGETS ${target_name} DESTINATION usr/lib)
@@ -36,7 +36,7 @@ endfunction()
function(serenity_shared_lib target_name fs_name)
serenity_install_headers(${target_name})
- serenity_install_sources("Libraries/${target_name}")
+ serenity_install_sources("Userland/Libraries/${target_name}")
add_library(${target_name} SHARED ${SOURCES} ${GENERATED_SOURCES})
install(TARGETS ${target_name} DESTINATION usr/lib)
set_target_properties(${target_name} PROPERTIES OUTPUT_NAME ${fs_name})
@@ -45,7 +45,7 @@ endfunction()
function(serenity_libc target_name fs_name)
serenity_install_headers("")
- serenity_install_sources("Libraries/LibC")
+ serenity_install_sources("Userland/Libraries/LibC")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib -fpic")
add_library(${target_name} SHARED ${SOURCES})
install(TARGETS ${target_name} DESTINATION usr/lib)
@@ -56,7 +56,7 @@ endfunction()
function(serenity_libc_static target_name fs_name)
serenity_install_headers("")
- serenity_install_sources("Libraries/LibC")
+ serenity_install_sources("Userland/Libraries/LibC")
add_library(${target_name} ${SOURCES})
install(TARGETS ${target_name} ARCHIVE DESTINATION usr/lib)
set_target_properties(${target_name} PROPERTIES OUTPUT_NAME ${fs_name})