<commit_before>cmake_minimum_required(VERSION 2.6)
project(apriltags)

configure_file(${CMAKE_SOURCE_DIR}/cmake/FindEigen.cmake
               ${CMAKE_BINARY_DIR}/FindEigen.cmake @ONLY)

set(CMAKE_MODULE_PATH
    ${CMAKE_BINARY_DIR}
    ${CMAKE_MODULE_PATH}
   )

find_package(Eigen REQUIRED)
include_directories(${EIGEN_INCLUDE_DIR})

## The "imgcodecs" package appears in OpenCV 3.0
# Not sure how to do a version check here and request "highgui" instead...?
find_package(OpenCV REQUIRED core imgcodecs imgproc calib3d )
include_directories(${OpenCV_INCLUDE_DIRS})

include_directories(include)

# libapriltags
file(GLOB SOURCE_FILES "lib/*.cc")
add_library(apriltags ${SOURCE_FILES})

target_link_libraries(apriltags ${OpenCV_LIBS}) #-pg) #-fopenmp)

## Slightly obtuse syntax.  Travis uses CMake 2.8.7
add_definitions( -pedantic -Wall -Werror )
#add_definitions( -std=c++11 -pedantic -Wall -Werror )

file(GLOB HEADER_FILES ${CMAKE_SOURCE_DIR}/include/Apriltags/*)
install(PROGRAMS ${HEADER_FILES} DESTINATION include/AprilTags COMPONENT applications)<commit_msg>Let's try with -std=c99<commit_after>cmake_minimum_required(VERSION 2.6)
project(apriltags)

configure_file(${CMAKE_SOURCE_DIR}/cmake/FindEigen.cmake
               ${CMAKE_BINARY_DIR}/FindEigen.cmake @ONLY)

set(CMAKE_MODULE_PATH
    ${CMAKE_BINARY_DIR}
    ${CMAKE_MODULE_PATH}
   )

find_package(Eigen REQUIRED)
include_directories(${EIGEN_INCLUDE_DIR})

## The "imgcodecs" package appears in OpenCV 3.0
# Not sure how to do a version check here and request "highgui" instead...?
find_package(OpenCV REQUIRED core imgcodecs imgproc calib3d )
include_directories(${OpenCV_INCLUDE_DIRS})

include_directories(include)

# libapriltags
file(GLOB SOURCE_FILES "lib/*.cc")
add_library(apriltags ${SOURCE_FILES})

target_link_libraries(apriltags ${OpenCV_LIBS}) #-pg) #-fopenmp)

## Slightly obtuse syntax.  Travis uses CMake 2.8.7
add_definitions( -std=c99 -pedantic -Wall -Werror )
#add_definitions( -std=c++11 -pedantic -Wall -Werror )

file(GLOB HEADER_FILES ${CMAKE_SOURCE_DIR}/include/Apriltags/*)
install(PROGRAMS ${HEADER_FILES} DESTINATION include/AprilTags COMPONENT applications)
{'fraction_non_alphanumeric': 0.1110078959591268, 'fraction_numerical': 0.01114723641430562, 'mean_word_length': 6.2040133779264215, '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': '1593520', 'n_tokens_mistral': 839, 'n_tokens_neox': 782, 'n_words': 153}