<commit_before>## ---------------------------------------------------------------------
##
## Copyright (C) 2017 by the deal.II authors
##
## This file is part of the deal.II library.
##
## The deal.II library is free software; you can use it, redistribute
## it, and/or modify it under the terms of the GNU Lesser General
## Public License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
## The full text of the license can be found in the file LICENSE at
## the top level of the deal.II distribution.
##
## ---------------------------------------------------------------------

#
# Try to find the ASSIMP libraries
#
# This module exports
#
#   ASSIMP_LIBRARIES
#   ASSIMP_INCLUDE_DIRS
#

SET(ASSIMP_DIR "" CACHE PATH "An optional hint to a Assimp installation")
SET_IF_EMPTY(ASSIMP_DIR "$ENV{ASSIMP_DIR}")

DEAL_II_FIND_LIBRARY(ASSIMP_LIB NAMES assimp
	HINTS ${ASSIMP_DIR}
	PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
  )

SET(ASSIMP_INC "${ASSIMP_DIR}/include")

DEAL_II_PACKAGE_HANDLE(ASSIMP
  LIBRARIES REQUIRED 
	ASSIMP_LIB
	INCLUDE_DIRS 
	REQUIRED ASSIMP_INC
	USER_INCLUDE_DIRS
	REQUIRED ASSIMP_INC
	CLEAR 
	ASSIMP_LIB
	ASSIMP_INC
  )
<commit_msg>CMake: Make FindASSIMP.cmake more pretty<commit_after>## ---------------------------------------------------------------------
##
## Copyright (C) 2017 by the deal.II authors
##
## This file is part of the deal.II library.
##
## The deal.II library is free software; you can use it, redistribute
## it, and/or modify it under the terms of the GNU Lesser General
## Public License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
## The full text of the license can be found in the file LICENSE at
## the top level of the deal.II distribution.
##
## ---------------------------------------------------------------------

#
# Try to find the ASSIMP libraries
#
# This module exports
#
#   ASSIMP_LIBRARIES
#   ASSIMP_INCLUDE_DIRS
#

SET(ASSIMP_DIR "" CACHE PATH "An optional hint to a Assimp installation")
SET_IF_EMPTY(ASSIMP_DIR "$ENV{ASSIMP_DIR}")

DEAL_II_FIND_LIBRARY(ASSIMP_LIB NAMES assimp
  HINTS ${ASSIMP_DIR}
  PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
  )

DEAL_II_FIND_PATH(ASSIMP_INC assimp/defs.h
  HINTS ${ASSIMP_DIR}
  )

DEAL_II_PACKAGE_HANDLE(ASSIMP
  LIBRARIES REQUIRED ASSIMP_LIB
  INCLUDE_DIRS REQUIRED ASSIMP_INC
  USER_INCLUDE_DIRS REQUIRED ASSIMP_INC
  CLEAR ASSIMP_LIB ASSIMP_INC
  )
{'fraction_non_alphanumeric': 0.18076616121308858, 'fraction_numerical': 0.006384676775738229, 'mean_word_length': 2.730654761904762, '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': '2464683', 'n_tokens_mistral': 824, 'n_tokens_neox': 775, 'n_words': 264}