--- src/tools/CMakeLists.txt.orig	2022-03-30 10:43:22 UTC
+++ src/tools/CMakeLists.txt
@@ -21,14 +21,14 @@ target_include_directories(davix_tool_lib PUBLIC
 ## davix cmd line
 add_executable(davix_tool davix_tool_main.cpp)
 
-target_link_libraries(davix_tool davix_tool_lib libdavix)
+target_link_libraries(davix_tool davix_tool_lib libdavix uuid)
 set_target_properties(davix_tool PROPERTIES
                                 OUTPUT_NAME "davix-http")
 
 ## davix ls cmd line
 add_executable(davix_ls_tool davix_tool_ls_main.cpp)
 
-target_link_libraries(davix_ls_tool davix_tool_lib libdavix ${CMAKE_THREAD_LIBS_INIT})
+target_link_libraries(davix_ls_tool davix_tool_lib libdavix ${CMAKE_THREAD_LIBS_INIT} uuid)
 set_target_properties(davix_ls_tool PROPERTIES
                                 OUTPUT_NAME "davix-ls")
 
@@ -36,14 +36,14 @@ set_target_properties(davix_ls_tool PROPERTIES
 ## davix get cmd line
 add_executable(davix_get_tool davix_tool_get_main.cpp)
 
-target_link_libraries(davix_get_tool davix_tool_lib libdavix pthread ${CMAKE_THREAD_LIBS_INIT})
+target_link_libraries(davix_get_tool davix_tool_lib libdavix pthread ${CMAKE_THREAD_LIBS_INIT} uuid)
 set_target_properties(davix_get_tool PROPERTIES
                                 OUTPUT_NAME "davix-get")
 
 ## davix put cmd line
 add_executable(davix_put_tool davix_tool_put_main.cpp)
 
-target_link_libraries(davix_put_tool davix_tool_lib libdavix pthread ${CMAKE_THREAD_LIBS_INIT})
+target_link_libraries(davix_put_tool davix_tool_lib libdavix pthread ${CMAKE_THREAD_LIBS_INIT} uuid)
 set_target_properties(davix_put_tool PROPERTIES
                                 OUTPUT_NAME "davix-put")
 
@@ -51,21 +51,21 @@ set_target_properties(davix_put_tool PROPERTIES
 ## davix del cmd line
 add_executable(davix_mkdir_tool davix_tool_mkcol_main.cpp)
 
-target_link_libraries(davix_mkdir_tool davix_tool_lib libdavix)
+target_link_libraries(davix_mkdir_tool davix_tool_lib libdavix uuid)
 set_target_properties(davix_mkdir_tool PROPERTIES
                                 OUTPUT_NAME "davix-mkdir")
 
 ## davix rm cmd line
 add_executable(davix_rm_tool davix_tool_rm_main.cpp)
 
-target_link_libraries(davix_rm_tool davix_tool_lib libdavix ${CMAKE_THREAD_LIBS_INIT})
+target_link_libraries(davix_rm_tool davix_tool_lib libdavix ${CMAKE_THREAD_LIBS_INIT} uuid)
 set_target_properties(davix_rm_tool PROPERTIES
                                 OUTPUT_NAME "davix-rm")
 
 ## davix mv cmd line
 add_executable(davix_mv_tool davix_tool_mv_main.cpp)
 
-target_link_libraries(davix_mv_tool davix_tool_lib libdavix)
+target_link_libraries(davix_mv_tool davix_tool_lib libdavix uuid)
 set_target_properties(davix_mv_tool PROPERTIES
                                 OUTPUT_NAME "davix-mv")
 
@@ -79,7 +79,7 @@ if (ENABLE_THIRD_PARTY_COPY)
 
     add_executable(davix_cp_tool davix_tool_copy_main.cpp)
 
-    target_link_libraries(davix_cp_tool davix_copy davix_tool_lib libdavix)
+    target_link_libraries(davix_cp_tool davix_copy davix_tool_lib libdavix uuid)
     set_target_properties(davix_cp_tool PROPERTIES
                                 OUTPUT_NAME "davix-cp")
 
