<commit_before>ExternalProject_Add(thrift
    URL                 http://www-us.apache.org/dist/thrift/${THRIFT_VERSION_STRING}/thrift-0.10.0.tar.gz
    URL_MD5             ${THRIFT_URL_MD5}
    CONFIGURE_COMMAND   CPPFLAGS=-I<BINARY_DIR>/lib/cpp/src <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> --with-openssl=${OPENSSL_ROOT_DIR} --with-boost=${BOOST_ROOT} --without-c_glib --without-csharp --without-python --without-java --without-nodejs --without-lua --without-ruby --without-php --without-erlang --without-go --without-nodejs --without-qt4 --without-qt5
    BUILD_COMMAND       make
    INSTALL_COMMAND     make install
)

ExternalProject_Get_Property(thrift INSTALL_DIR)

set (THRIFT_ROOT_DIR        ${INSTALL_DIR})
set (THRIFT_INCLUDE_DIRS    ${THRIFT_ROOT_DIR}/include)
set (THRIFT_LIBRARY_DIRS    ${THRIFT_ROOT_DIR}/lib)
set (THRIFT_LIBRARIES       ${THRIFT_LIBRARY_DIRS}/libthrift.a)
set (THRIFT_FOUND           YES)

mark_as_advanced(THRIFT_LIBRARIES THRIFT_INCLUDE_DIRS)<commit_msg>add include path to generated config.h<commit_after>ExternalProject_Add(thrift
    URL                 http://www-us.apache.org/dist/thrift/${THRIFT_VERSION_STRING}/thrift-0.10.0.tar.gz
    URL_MD5             ${THRIFT_URL_MD5}
    CONFIGURE_COMMAND   CMAKE_INCLUDE_PATH=<BINARY_DIR>/lib/cpp/src <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> --with-openssl=${OPENSSL_ROOT_DIR} --with-boost=${BOOST_ROOT} --without-c_glib --without-csharp --without-python --without-java --without-nodejs --without-lua --without-ruby --without-php --without-erlang --without-go --without-nodejs --without-qt4 --without-qt5 --disable-plugin
    BUILD_COMMAND       make
    INSTALL_COMMAND     make install
)

ExternalProject_Get_Property(thrift INSTALL_DIR)

set (THRIFT_ROOT_DIR        ${INSTALL_DIR})
set (THRIFT_INCLUDE_DIRS    ${THRIFT_ROOT_DIR}/include)
set (THRIFT_LIBRARY_DIRS    ${THRIFT_ROOT_DIR}/lib)
set (THRIFT_LIBRARIES       ${THRIFT_LIBRARY_DIRS}/libthrift.a)
set (THRIFT_FOUND           YES)

mark_as_advanced(THRIFT_LIBRARIES THRIFT_INCLUDE_DIRS)
{'fraction_non_alphanumeric': 0.1230392156862745, 'fraction_numerical': 0.00784313725490196, 'mean_word_length': 3.7465116279069766, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5798816', 'n_tokens_mistral': 751, 'n_tokens_neox': 723, 'n_words': 101}