~aleteoryx/muditaos

ref: 22a4979d9191892a5337ecee5a0409be5e86b8d5 muditaos/cmake/modules/DownloadAsset2.cmake -rw-r--r-- 367 bytes
22a4979d — Adam Dobrowolski [EGD-7969] Added lacking dependencies in cmake 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
function(download_asset2 json install_path cache_dir)
    add_custom_target(json-target
        COMMAND python3 ${CMAKE_SOURCE_DIR}/tools/download_asset2.py
            --json ${json}
            github
            --install_dir ${install_path}
            --cache_dir ${cache_dir}
        COMMENT "Download binary assets listed in json file"
        )
endfunction()