Skip to content
Snippets Groups Projects

AtlasCMake: improve detection of non-existent files for install commands

Merged Frank Winklmeier requested to merge fwinkl/atlasexternals:installfiles into main
  1. Apr 23, 2024
    • Frank Winklmeier's avatar
      AtlasCMake: improve detection of non-existent files for install commands · b55c08b6
      Frank Winklmeier authored
      If the following matches no files, we currently print an error:
      ```
      atlas_install_joboptions( share/*.py )
      ```
      
      However, no error is printed for the following cases
      ```
      atlas_install_joboptions( share/*.py share/*.txt)
      atlas_install_joboptions( share/*.py share/foo.txt)
      atlas_install_joboptions( share/foo.py share/foo.txt)
      ```
      if at least one element in the list returns a valid file.
      
      Improve the check by requiring that each element in the list is a
      valid entry.
      b55c08b6
Loading