From 32a5f1c041d00cdd0246cf7e764a447588f30f3a Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Wed, 9 Aug 2023 14:07:46 +0200 Subject: 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. --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.3