<commit_before>FIND_PACKAGE(FREEGLUT QUIET)
FIND_PACKAGE(GLUT QUIET)

IF(FREEGLUT_FOUND OR GLUT_FOUND)
    ADD_SUBDIRECTORY(SimpleMultiDisplay)
    ADD_SUBDIRECTORY(SimpleDisplayImage)
    ADD_SUBDIRECTORY(SimplePlot)

    ## These samples require Pangolin Var support
    IF(BUILD_PANGOLIN_VARS)
      ADD_SUBDIRECTORY(SimpleDisplay)

      ## Video Samples require Pangolin Video support
      IF(BUILD_PANGOLIN_VIDEO)
        ADD_SUBDIRECTORY(SimpleVideo)
        ADD_SUBDIRECTORY(SimpleRecord)
        ADD_SUBDIRECTORY(SimpleRepeatVideo)
      ENDIF()

      ADD_SUBDIRECTORY(VBODisplay)
    ENDIF()
ENDIF()<commit_msg>VBODisplay should be built only if cuda is available<commit_after>FIND_PACKAGE(FREEGLUT QUIET)
FIND_PACKAGE(GLUT QUIET)

IF(FREEGLUT_FOUND OR GLUT_FOUND)
    ADD_SUBDIRECTORY(SimpleMultiDisplay)
    ADD_SUBDIRECTORY(SimpleDisplayImage)
    ADD_SUBDIRECTORY(SimplePlot)

    ## These samples require Pangolin Var support
    IF(BUILD_PANGOLIN_VARS)
      ADD_SUBDIRECTORY(SimpleDisplay)

      ## Video Samples require Pangolin Video support
      IF(BUILD_PANGOLIN_VIDEO)
        ADD_SUBDIRECTORY(SimpleVideo)
        ADD_SUBDIRECTORY(SimpleRecord)
        ADD_SUBDIRECTORY(SimpleRepeatVideo)
      ENDIF(BUILD_PANGOLIN_VIDEO)

      ## VBODisplay Sample requires CUDA
      IF(CUDA_FOUND)
      	ADD_SUBDIRECTORY(VBODisplay)
      ENDIF(CUDA_FOUND) 
    ENDIF(BUILD_PANGOLIN_VARS)
ENDIF(FREEGLUT_FOUND OR GLUT_FOUND)
{'fraction_non_alphanumeric': 0.058333333333333334, 'fraction_numerical': 0.0, 'mean_word_length': 4.376865671641791, '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': '4404249', 'n_tokens_mistral': 514, 'n_tokens_neox': 528, 'n_words': 79}