File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -300,16 +300,16 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
300300 OUTPUT_STRIP_TRAILING_WHITESPACE)
301301 set (PACKAGES "libc6" )
302302 if (WITH_LOCAL_BACKEND)
303- string (CONCAT PACKAGES ${PACKAGES} " libaio" )
303+ set ( PACKAGES " ${PACKAGES} libaio" )
304304 endif ()
305305 if (HAVE_AVAHI)
306- string (CONCAT PACKAGES ${PACKAGES} " libavahi-client libavahi-common" )
306+ set ( PACKAGES " ${PACKAGES} libavahi-client libavahi-common" )
307307 endif ()
308308 if (WITH_USB_BACKEND)
309- string (CONCAT PACKAGES ${PACKAGES} " libusb-1" )
309+ set ( PACKAGES " ${PACKAGES} libusb-1" )
310310 endif ()
311311 if (WITH_XML_BACKEND)
312- string (CONCAT PACKAGES ${PACKAGES} " libxml2" )
312+ set ( PACKAGES " ${PACKAGES} libxml2" )
313313 endif ()
314314 string (REGEX REPLACE " " ";" PACKAGES ${PACKAGES} )
315315 foreach (package ${PACKAGES} )
@@ -327,9 +327,8 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
327327 OUTPUT_VARIABLE NAME3_LIBAIO)
328328 string (REGEX REPLACE "[+-][a-z0-9A-Z.]*" "" NAME3_LIBAIO ${NAME3_LIBAIO} )
329329 string (REGEX REPLACE "'" "" NAME3_LIBAIO ${NAME3_LIBAIO} )
330- string (CONCAT CPACK_DEBIAN_PACKAGE_DEPENDS
331- ${CPACK_DEBIAN_PACKAGE_DEPENDS}
332- ${match} " (>= " ${NAME3_LIBAIO} "), " )
330+ set (CPACK_DEBIAN_PACKAGE_DEPENDS
331+ "${CPACK_DEBIAN_PACKAGE_DEPENDS}${match} (>= ${NAME3_LIBAIO} ), " )
333332 endif ()
334333 endforeach (match)
335334 endforeach (package)
You can’t perform that action at this time.
0 commit comments