cmake HAVE_FREELOCALE examples

hyperrealm/libconfig lib/CMakeLists.txt :107

check_symbol_exists(freelocale "xlocale.h" HAVE_FREELOCALE)

hyperrealm/libconfig lib/CMakeLists.txt :111

check_symbol_exists(freelocale "locale.h" HAVE_FREELOCALE)

hyperrealm/libconfig lib/CMakeLists.txt :133

target_compile_definitions(${libname}
        PRIVATE "HAVE_FREELOCALE")

hyperrealm/libconfig lib/CMakeLists.txt :136

target_compile_definitions(${libname}++
          PRIVATE "HAVE_FREELOCALE")