<commit_before>include(CMakeFindDependencyMacro)
# Since these are required for PUBLIC usage, they must be found here
# Then people don't have to pre-emptively find_package(Threads) or Vulkan
# before find_package(Acid)
find_dependency(Threads REQUIRED)
find_dependency(Vulkan REQUIRED)
# Includes the targets which are in the same dir as this file
# So CMAKE_CURRENT_LIST_DIR will be determined when calling find_package(Acid)
include(${CMAKE_CURRENT_LIST_DIR}/AcidTargets.cmake)<commit_msg>Make AcidConfig work more like a FindXXX module<commit_after># This creates the IMPORTED TARGET Acid::Acid
#
# To use this...
# target_link_libraries(yourliborexe Acid::Acid)
#
# Optionally use PRIVATE/PUBLIC based on your needs like so...
# target_link_libraries(yourliborexe PRIVATE Acid::Acid)
#
# Because it's an IMPORTED TARGET, you don't need to include its headers seperately, it's handled for you

include(CMakeFindDependencyMacro)
# Since these are required for PUBLIC usage, they must be found here
# Then people don't have to pre-emptively find_package(Threads) or Vulkan
# before find_package(Acid)
find_dependency(Threads)
find_dependency(Vulkan)
# Includes the targets which are in the same dir as this file
# So CMAKE_CURRENT_LIST_DIR will be determined when calling find_package(Acid)
include(${CMAKE_CURRENT_LIST_DIR}/AcidTargets.cmake)

if(TARGET Acid::Acid)
	# Note "Found Acid: " will be automatically prefixed by find_package_handle_standard_args
	# Example output when doing find_package(Acid)...
	# -- Found Acid: /usr/lib/libAcid.so  
	get_property(_ACID_TARGET_LOCATION TARGET Acid::Acid PROPERTY LOCATION)
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Acid
	FOUND_VAR ACID_FOUND
	REQUIRED_VARS _ACID_TARGET_LOCATION
	)
{'fraction_non_alphanumeric': 0.06945228684359118, 'fraction_numerical': 0.0, 'mean_word_length': 6.670995670995671, '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': '480738', 'n_tokens_mistral': 586, 'n_tokens_neox': 550, 'n_words': 174}