<commit_before>file(GLOB_RECURSE SOURCES_VGF "*.cpp")

set(CMAKE_INCLUDE_CURRENT_DIR ON)

link_directories(${CMAKE_CURRENT_BINARY_DIR})

find_package(SFML 2.4 REQUIRED system window graphics network audio main)
if (SFML_FOUND)
	include_directories(${SFML_INCLUDE_DIR})
	link_libraries(${SFML_LIBRARIES})
endif()

find_package(OpenGL REQUIRED)
if (OPENGL_FOUND)
	include_directories(${OPENGL_INCLUDE_DIRS})
	link_libraries(${OPENGL_LIBRARIES})
endif()

find_package(PNG)
if (PNG_FOUND)
	include_directories(${PNG_INCLUDE_DIRS})
endif()
link_libraries(${PNG_LIBRARIES})

find_package(JPEG)
if (JPEG_FOUND)
	include_directories(${JPEG_INCLUDE_DIRS})
endif()
link_libraries(${JPEG_LIBRARY})

find_package(OpenAL)
if (OPENAL_FOUND)
	include_directories(${OPENAL_INCLUDE_DIRS})
endif()
link_libraries(${OPENAL_LIBRARY})

find_package(OGG )
if (OGG_FOUND)
	include_directories(${OGG_INCLUDE_DIRS})
endif()
link_libraries(${OGG_LIBRARIES})

find_package(VORBIS )
if (VORBIS_FOUND)
	include_directories(${VORBIS_INCLUDE_DIRS})
endif()
link_libraries(${VORBIS_LIBRARIES})

find_package(FLAC )
if (FLAC_FOUND)
	include_directories(${FLAC_INCLUDE_DIRS})
endif()
link_libraries(${FLAC_LIBRARY})

find_package(Freetype )
if (FREETYPE_FOUND)
	include_directories(${FREETYPE_INCLUDE_DIRS})
endif()
link_libraries(${FREETYPE_LIBRARY})

find_package(GLEW)
if (GLEW_FOUND)
	include_directories(${GLEW_INCLUDE_DIR})
	link_libraries(${GLEW_LIBRARY})
else()
	add_definitions(-DVFRAME_NO_3D)
endif()

if (UNIX)<commit_msg>CMake Update for Glew and removed JPEG dependency.<commit_after>file(GLOB_RECURSE SOURCES_VGF "*.cpp")
message(STATUS "Setting up VFrame Project")

set(CMAKE_INCLUDE_CURRENT_DIR ON)

link_directories(${CMAKE_CURRENT_BINARY_DIR})

find_package(SFML 2.4.2 REQUIRED system window graphics network audio main)
if (SFML_FOUND)
	include_directories(${SFML_INCLUDE_DIR})
	link_libraries(${SFML_LIBRARIES})
endif()

find_package(OpenGL REQUIRED)
if (OPENGL_FOUND)
	include_directories(${OPENGL_INCLUDE_DIRS})
	link_libraries(${OPENGL_LIBRARIES})
endif()

find_package(PNG)
if (PNG_FOUND)
	include_directories(${PNG_INCLUDE_DIRS})
endif()
link_libraries(${PNG_LIBRARIES})

find_package(OpenAL)
if (OPENAL_FOUND)
	include_directories(${OPENAL_INCLUDE_DIRS})
endif()
link_libraries(${OPENAL_LIBRARY})

find_package(OGG )
if (OGG_FOUND)
	include_directories(${OGG_INCLUDE_DIRS})
endif()
link_libraries(${OGG_LIBRARIES})

find_package(VORBIS )
if (VORBIS_FOUND)
	include_directories(${VORBIS_INCLUDE_DIRS})
endif()
link_libraries(${VORBIS_LIBRARIES})

find_package(FLAC )
if (FLAC_FOUND)
	include_directories(${FLAC_INCLUDE_DIRS})
endif()
link_libraries(${FLAC_LIBRARY})

find_package(Freetype )
if (FREETYPE_FOUND)
	include_directories(${FREETYPE_INCLUDE_DIRS})
endif()
link_libraries(${FREETYPE_LIBRARY})

find_package(GLEW )
if (GLEW_FOUND)
	include_directories(${GLEW_INCLUDE_DIR})
	add_definitions(${GLEW_DEFINITIONS})
else()
	add_definitions(-DVFRAME_NO_3D)
endif()

find_package(CHIPMUNK2D )
if (CHIPMUNK2D_FOUND)
	include_directories(${CHIPMUNK2D_INCLUDE_DIR})
	link_libraries(${CHIPMUNK2D_LIBRARY})
else()
	add_definitions(-DVFRAME_NO_PHYSICS)
endif()

if (UNIX)
{'fraction_non_alphanumeric': 0.12005068102629078, 'fraction_numerical': 0.003484320557491289, 'mean_word_length': 11.83739837398374, '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': '3354098', 'n_tokens_mistral': 1387, 'n_tokens_neox': 1296, 'n_words': 171}