Back to 'if exist'
@@ -33,9 +33,9 @@ test:
- test -f ${PREFIX}/include/xtensor-zarr/xzarr_hierarchy.hpp # [unix]
- test -f ${PREFIX}/lib/cmake/xtensor-zarr/xtensor-zarrConfig.cmake # [unix]
- test -f ${PREFIX}/lib/cmake/xtensor-zarr/xtensor-zarrConfigVersion.cmake # [unix]
- - if not exist %LIBRARY_PREFIX%\include\xtensor-zarr\xzarr_hierarchy.hpp (exit 1) # [win]
- - if not exist %LIBRARY_PREFIX%\lib\cmake\xtensor-zarrConfig.cmake (exit 1) # [win]
- - if not exist %LIBRARY_PREFIX%\lib\cmake\xtensor-zarrConfigVersion.cmake (exit 1) # [win]
+ - if exist %LIBRARY_PREFIX%\include\xtensor-zarr\xzarr_hierarchy.hpp (exit 0) else (exit 1) # [win]
+ - if exist %LIBRARY_PREFIX%\lib\cmake\xtensor-zarrConfig.cmake (exit 0) else (exit 1) # [win]
+ - if exist %LIBRARY_PREFIX%\lib\cmake\xtensor-zarrConfigVersion.cmake (exit 0) else (exit 1) # [win]
about:
home: https://github.com/xtensor-stack/xtensor-zarr
