• Adam Simpkins's avatar
    disable ThreadLocal.SharedLibrary when not building shared libs · df8c294a
    Adam Simpkins authored
    Summary:
    The `ThreadLocal.SharedLibrary` test depends on building a separate
    `thread_local_test_lib.so`.  This can only be built when folly was compiled
    with PIC.
    
    This also fixes the test to fail normally rather than segfaulting if it cannot
    load `thread_local_test_lib.so`.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D6805683
    
    fbshipit-source-id: b451b94c2a4b3184a8f61de3b7f83e69169205f0
    df8c294a
CMakeLists.txt 28.5 KB