<commit_before>add_executable (unit_test test.cpp ${INCS})    

if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux")    
target_link_libraries (unit_test LINK_PUBLIC libgtest.a)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-pthread")
endif()

set(CMAKE_CXX_STANDARD 11) 
<commit_msg>os x cmake fix<commit_after>add_executable (unit_test test.cpp ${INCS})    

set(CMAKE_CXX_STANDARD 11) 

if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "Linux")    
    find_library (GTEST_LIBRARY
        NAMES gtest
        PATHS /usr/lib /usr/local/lib
    )
    if (GTEST_LIBRARY)
        #target_link_libraries (unit_test LINK_PUBLIC libgtest.a)
        target_link_libraries (unit_test LINK_PUBLIC ${GTEST_LIBRARY})
    endif ()
endif()

if( CMAKE_SYSTEM_NAME MATCHES "Linux")    
    set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-pthread")
endif ()


{'fraction_non_alphanumeric': 0.09693251533742331, 'fraction_numerical': 0.0049079754601227, 'mean_word_length': 4.264516129032258, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4790421', 'n_tokens_mistral': 350, 'n_tokens_neox': 308, 'n_words': 60}