• Justin M. Keyes's avatar
    cmake/FindLibIntl.cmake: handle passive case explicitly · 42037933
    Justin M. Keyes authored
    If check_c_source_compiles() succeeded (HAVE_WORKING_LIBINTL is set)
    then the result of find_xxx() doesn't matter. This happens on systems
    (linux+glibc) where libintl is available passively.
    
    This allows `find_package(LibIntl REQUIRED)` to work and will still
    correctly fail (REQUIRED) on systems lacking libintl.
    42037933
FindLibIntl.cmake 1.85 KB