mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00

Related-To: NEO-1157 Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9 Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
16 lines
362 B
CMake
16 lines
362 B
CMake
#
|
|
# Copyright (C) 2020 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
set(UDEV_RULES_DIR_FOUND FALSE)
|
|
|
|
foreach(rules_dir IN ITEMS "/lib/udev/rules.d" "/usr/lib/udev/rules.d")
|
|
if(IS_DIRECTORY ${rules_dir})
|
|
set(UDEV_RULES_DIR ${rules_dir} CACHE PATH "Install path for udev rules")
|
|
set(UDEV_RULES_DIR_FOUND TRUE)
|
|
break()
|
|
endif()
|
|
endforeach()
|