Warning, /graphics/krita/cmake/modules/Findxsimd.cmake is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2022 L. E. Segovia <amy@amyspark.me> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 0004 include(FindPackageHandleStandardArgs) 0005 0006 find_package(PkgConfig QUIET) 0007 pkg_check_modules(PC_xsimd QUIET xsimd) 0008 0009 find_package(xsimd QUIET NO_MODULE 0010 HINTS ${PC_xsimd_CONFIG_DIR} /usr/lib/cmake/xsimd /usr/local/lib/cmake/xsimd 0011 ) 0012 0013 if(xsimd_FOUND) 0014 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/xsimd") 0015 include(xsimdMacros) 0016 xsimd_set_preferred_compiler_flags() 0017 endif() 0018 0019 include(FindPackageHandleStandardArgs) 0020 find_package_handle_standard_args(xsimd CONFIG_MODE REQUIRED_VARS xsimd_IS_CONFIGURATION_VALID)