┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorBart Ribbers <[email protected]>2023-08-09 14:07:46 +0200
committerMéven Car <[email protected]>2023-08-11 08:45:13 +0000
commit32a5f1c041d00cdd0246cf7e764a447588f30f3a (patch)
tree8bf3dd90c4bf15bfe1540d715b8984bf66ed426b /src/CMakeLists.txt
parent521f4937d55ff611ebe46fcbbe162eb2d9d175ad (diff)
Fix musl build by using fts_* from external library
musl does not support fts. There is however a standalone package that can be used, but it must be linked against. This commit adds a check that makes sure to link to the external library if it is required.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5a481e39f..fa7de5cc2 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -213,6 +213,8 @@ target_link_libraries(
KF6::KCMUtils
KF6::MoreTools
+
+ ${FTS_LIB}
)
if(HAVE_BALOO)