• Wez Furlong's avatar
    folly: cmake: fixup libevent include dirs · 430228fc
    Wez Furlong authored
    Summary:
    When finding a package via its config, we need to
    add its include dirs to our list.  Previously we were squeaking
    by for this because libevent was installed in either the default
    include path or in the same installation prefix as folly.
    
    In the getdeps build environment we have libevent in its own
    installation prefix.
    
    The `LibeventConfig.cmake` file from libevent `release-2.1.8-stable` exports
    the include dirs via the `LIBEVENT_INCLUDE_DIRS` variable, which is slightly
    different from that used by the `folly/public_tld/CMake/FindLibEvent.cmake`
    file.
    
    In a later diff I plan to standardize and move the libevent
    logic to the common cmake dir.  For now, this unblocks my build.
    
    Reviewed By: strager
    
    Differential Revision: D14680677
    
    fbshipit-source-id: 9f757c84fd145d052925803348008dc2c1abf263
    430228fc
folly-deps.cmake 6.88 KB