diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 413ff6d..642e9e5 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -125,18 +125,17 @@ outputs: 'vcamp140.dll', 'vccorlib140.dll', 'vcomp140.dll', - 'vcruntime140.dll'] %} + 'vcruntime140.dll', + ] + (vsyear | int >= 2019) * [ + 'msvcp140_atomic_wait.dll', + 'msvcp140_codecvt_ids.dll', + 'vcruntime140_1.dll', + ] + (vsyear | int >= 2022) * [ + 'vcruntime140_threads.dll', + ]%} - if not exist %LIBRARY_BIN%\{{ dllname }} exit 1 - if not exist %PREFIX%\{{ dllname }} exit 1 {% endfor %} - {% if vsyear | int >= 2019 %} - - if not exist %LIBRARY_BIN%\vcruntime140_1.dll exit 1 - - if not exist %LIBRARY_BIN%\msvcp140_atomic_wait.dll exit 1 - - if not exist %LIBRARY_BIN%\msvcp140_codecvt_ids.dll exit 1 - {% endif %} - {% if vsyear | int >= 2022 %} - - if not exist %LIBRARY_BIN%\vcruntime140_threads.dll exit 1 - {% endif %} - name: vs{{ runtime_year }}_runtime version: {{ runtime_version }}