Skip to content
  • Stephen Kelly's avatar
    Export: Report error on relative include with genex. · 5838aba1
    Stephen Kelly authored
    Diagnostics which check the sanity of exported include paths
    previously skipped over any path containing a generator expression.
    
    Introduce a policy to issue an error message in such cases.
    
    The export files created in the OLD behavior are not usable, because
    they contain relative paths or paths to the source or build location
    which are not suitable for use on installation. CMake will report an
    error on import.
    5838aba1