microsoft/onnxruntime-extensions
Publicmirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable
cmake/externals/dlib.cmake
14lines · modecode
| 1 | FetchContent_Declare(dlib |
| 2 | GIT_REPOSITORY https://github.com/davisking/dlib.git |
| 3 | GIT_TAG v19.22 |
| 4 | ) |
| 5 | |
| 6 | if (WIN32) |
| 7 | FetchContent_MakeAvailable(dlib) |
| 8 | else() |
| 9 | FetchContent_GetProperties(dlib) |
| 10 | if(NOT dlib_POPULATED) |
| 11 | # Fetch the content using previously declared details |
| 12 | FetchContent_Populate(dlib) |
| 13 | endif() |
| 14 | endif() |
| 15 | |