14 lines
467 B
Diff
14 lines
467 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -276,7 +276,9 @@ else()
|
|
include ( FindPkgConfig )
|
|
pkg_check_modules( MUSL_FTS musl-fts )
|
|
if ( MUSL_FTS_FOUND )
|
|
- set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
|
|
+ foreach(flags IN LISTS MUSL_FTS_LDFLAGS)
|
|
+ set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${flags}" )
|
|
+ endforeach()
|
|
else ( MUSL_FTS_FOUND )
|
|
message (ERROR "fts_* functions not found in the system" )
|
|
endif ( MUSL_FTS_FOUND )
|