cmake: find metrics discovery with libigdmd name

Related-To: NEO-5615
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
This commit is contained in:
Grzegorz Choinski
2022-08-08 12:36:51 +00:00
committed by Compute-Runtime-Automation
parent 6450be2414
commit 89264b99e5

View File

@ -78,7 +78,7 @@ if(NOT NEO__METRICS_LIBRARY_INCLUDE_DIR STREQUAL "")
endif()
# Metrics Discovery Detection
dependency_detect("Metrics Discovery" "" METRICS_DISCOVERY "../metrics/discovery" TRUE)
dependency_detect("Metrics Discovery" libigdmd METRICS_DISCOVERY "../metrics/discovery" TRUE)
if(NOT NEO__METRICS_DISCOVERY_INCLUDE_DIR STREQUAL "")
include_directories("${NEO__METRICS_DISCOVERY_INCLUDE_DIR}")
endif()