<commit_before># Find, include and link OpenAL Find is already called in the top-level 
# CMakeLists

macro (FIND_OPENAL)
	if (NOT MSVC)
		find_package (PkgConfig)
		pkg_search_module (OPENAL OPENAL)
		if (NOT OPENAL_INCLUDE_DIRS AND NOT OPENAL_LIBRARIES)
			message (FATAL_ERROR "OpenAL not found by pkg-config")
		endif (NOT OPENAL_INCLUDE_DIRS AND NOT OPENAL_LIBRARIES)
		separate_arguments (OPENAL_INCLUDE_DIRS)
		separate_arguments (OPENAL_LIBRARIES)
	endif (NOT MSVC)
endmacro (FIND_OPENAL)

macro (INCLUDE_OPENAL)
	if (MSVC)
		include_directories (${REX_DEP_PATH}/OpenAL/include)
		link_directories (${REX_DEP_PATH}/OpenAL/libs/Win32)
		
		
	else (MSVC)
		include_directories (${OPENAL_INCLUDE_DIRS})
		link_directories (${OPENAL_LIBDIR})
	endif (MSVC)
endmacro (INCLUDE_OPENAL)

macro (LINK_OPENAL)
	if (MSVC)
		target_link_libraries (${TARGET_NAME}
			debug OpenAL32
			optimized OpenAL32)
	else (MSVC)
		target_link_libraries (${TARGET_NAME} ${OPENAL_LIBRARIES})
	endif (MSVC)
endmacro (LINK_OPENAL)<commit_msg>Fixed OpenAL package for linux.<commit_after># Find, include and link OpenAL Find is already called in the top-level 
# CMakeLists

macro (FIND_OPENAL)
	if (NOT MSVC)
		find_package (PkgConfig)
		pkg_search_module (openal openal)
		if (NOT openal_INCLUDE_DIRS AND NOT openal_LIBRARIES)
			message (FATAL_ERROR "OpenAL not found by pkg-config")
		endif (NOT openal_INCLUDE_DIRS AND NOT openal_LIBRARIES)
		separate_arguments (openal_INCLUDE_DIRS)
		separate_arguments (openal_LIBRARIES)
	endif (NOT MSVC)
endmacro (FIND_OPENAL)

macro (INCLUDE_OPENAL)
	if (MSVC)
		include_directories (${REX_DEP_PATH}/OpenAL/include)
		link_directories (${REX_DEP_PATH}/OpenAL/libs/Win32)
		
		
	else (MSVC)
		include_directories (${openal_INCLUDE_DIRS})
		link_directories (${openal_LIBDIR})
	endif (MSVC)
endmacro (INCLUDE_OPENAL)

macro (LINK_OPENAL)
	if (MSVC)
		target_link_libraries (${TARGET_NAME}
			debug OpenAL32
			optimized OpenAL32)
	else (MSVC)
		target_link_libraries (${TARGET_NAME} ${openal_LIBRARIES})
	endif (MSVC)
endmacro (LINK_OPENAL)
{'fraction_non_alphanumeric': 0.08786407766990291, 'fraction_numerical': 0.005825242718446602, 'mean_word_length': 5.87, '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': '5597243', 'n_tokens_mistral': 882, 'n_tokens_neox': 775, 'n_words': 181}