```cmake
# DownloadLcbDeb(url location)
MACRO(DOWNLOAD_LCB_DEP url dest)
    IF(UNIX)
        MESSAGE(STATUS "Downloading ${url} => ${dest}")
        EXECUTE_PROCESS(COMMAND wget -O "${dest}" "${url}")
    ELSEIF(WIN32)
        EXECUTE_PROCESS(COMMAND powershell -Command
            "(New-Object Net.WebClient).DownloadFile('${url}', '${dest}')")
    ELSE()
        MESSAGE(WARNING "Using buggy built-in CMake downloader")
        FILE(DOWNLOAD ${url} ${dest} INACTIVITY_TIMEOUT 30 SHOW_PROGRESS)
    ENDIF()
ENDMACRO()
```

Allow download script to use wget or curl
user
```cmake
# DownloadLcbDeb(url location)
FIND_PROGRAM(WGET wget)
FIND_PROGRAM(CURL curl)
MACRO(DOWNLOAD_LCB_DEP url dest)
    IF(WIN32)
        EXECUTE_PROCESS(COMMAND powershell -Command
            "(New-Object Net.WebClient).DownloadFile('${url}', '${dest}')" RESULT_VARIABLE DLRC)
    ELSEIF(CURL)
        EXECUTE_PROCESS(COMMAND "${CURL}" "${url}" -o "${dest}" RESULT_VARIABLE DLRC)
    ELSEIF(WGET)
        EXECUTE_PROCESS(COMMAND "${WGET}" "${url}" -O "${dest}" RESULT_VARIABLE DLRC)
    ELSE()
        MESSAGE(WARNING "Using buggy built-in CMake downloader")
        FILE(DOWNLOAD ${url} ${dest} INACTIVITY_TIMEOUT 30 SHOW_PROGRESS)
        SET(DLRC 0)
    ENDIF()
    IF(NOT DLRC EQUAL 0)
        MESSAGE(FATAL_ERROR "Failed to download ${url}")
    ENDIF()
ENDMACRO()
```
assistant