• Georgios Bitzes's avatar
    Fix ASan build when folly is embedded as a submodule (#960) · b5ba7c30
    Georgios Bitzes authored
    Summary:
    When folly is used as a submodule, CMAKE_SOURCE_DIR
    will point to the top-level repository, resulting
    in set_source_files_properties not taking effect
    when compiling with ASan.
    
    Replacing CMAKE_SOURCE_DIR with PROJECT_SOURCE_DIR points
    cmake to the intended file.
    Pull Request resolved: https://github.com/facebook/folly/pull/960
    
    Reviewed By: yfeldblum
    
    Differential Revision: D12943633
    
    Pulled By: Orvid
    
    fbshipit-source-id: a73560c5578062282f38dc3ff6c7a3364fb6cf6e
    b5ba7c30
folly-deps.cmake 6.82 KB