<commit_before>cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(rfprotocol)

# Define GTEST_ROOT to the root of your gtest static library
if (NOT DEFINED ENV{GTEST_ROOT})
  message(WARNING ""
    "To run tests, the GTEST_ROOT environment variable shall be defined"
    "i.e.: export GTEST_ROOT=/usr/src/gmock/gtest/")
  message(WARNING "Tests will not be run")
else()
  # for gtest
  enable_testing()
  find_package(GTest REQUIRED)
  find_package(Threads)

  #Includes
  include_directories(${GTEST_INCLUDE_DIRS})
  include_directories(../src)
  include_directories(./)

  #-----------------------------------------------------------------------
  # Setup Library
  #-----------------------------------------------------------------------
  add_executable(testrfprotocol main.cc)
  target_link_libraries(testrfprotocol rfprotocol ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
endif()<commit_msg>Force thread library to be present<commit_after>cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(rfprotocol)

# Define GTEST_ROOT to the root of your gtest static library
if (NOT DEFINED ENV{GTEST_ROOT})
  message(WARNING ""
    "To run tests, the GTEST_ROOT environment variable shall be defined"
    "i.e.: export GTEST_ROOT=/usr/src/gmock/gtest/")
  message(WARNING "Tests will not be run")
else()
  # for gtest
  enable_testing()
  find_package(GTest REQUIRED)
  find_package(Threads REQUIRED)

  #Includes
  include_directories(${GTEST_INCLUDE_DIRS})
  include_directories(../src)
  include_directories(./)

  #-----------------------------------------------------------------------
  # Setup Library
  #-----------------------------------------------------------------------
  add_executable(testrfprotocol main.cc)
  target_link_libraries(testrfprotocol rfprotocol ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
endif()
{'fraction_non_alphanumeric': 0.23593073593073594, 'fraction_numerical': 0.003246753246753247, 'mean_word_length': 2.495274102079395, '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': '1538045', 'n_tokens_mistral': 570, 'n_tokens_neox': 542, 'n_words': 121}