summaryrefslogtreecommitdiff
path: root/Ladybird/cmake/InstallRules.cmake
diff options
context:
space:
mode:
authorAndrew Kaster <andrewdkaster@gmail.com>2022-10-03 18:28:31 -0600
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-25 07:58:58 -0700
commitfb1ca02a748dda126d0ed9909411576211cf20df (patch)
treecf37ef12e46993ce381dbc202dba51482302aff9 /Ladybird/cmake/InstallRules.cmake
parent02b3a89d966e8a7ed3ae1616a3c31353b7096d9d (diff)
downloadserenity-fb1ca02a748dda126d0ed9909411576211cf20df.zip
Ladybird/SimpleWebView: Install and check for content filters in res/
This allows installed ladybird and Andriod ladybird to find the content filters without copying all of Base/home/anon into the install tree.
Diffstat (limited to 'Ladybird/cmake/InstallRules.cmake')
-rw-r--r--Ladybird/cmake/InstallRules.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Ladybird/cmake/InstallRules.cmake b/Ladybird/cmake/InstallRules.cmake
index 04a222f5be..d2a5932c29 100644
--- a/Ladybird/cmake/InstallRules.cmake
+++ b/Ladybird/cmake/InstallRules.cmake
@@ -73,3 +73,9 @@ install(DIRECTORY
USE_SOURCE_PERMISSIONS MESSAGE_NEVER
COMPONENT ladybird_Runtime
)
+
+install(FILES
+ "${SERENITY_SOURCE_DIR}/Base/home/anon/.config/BrowserContentFilters.txt"
+ DESTINATION "${CMAKE_INSTALL_DATADIR}/res/ladybird"
+ COMPONENT ladybird_Runtime
+)