add esmi src and inc paths to CMakeLists.txt
Amd-smi functions will be calling esmi functions. Hence we need to include esmi source and include files Change-Id: Icea0553ab76da64b89aebbf2423f26e0dd4fee65
This commit is contained in:
@@ -50,6 +50,11 @@ set(INC_LIST
|
||||
"${PROJECT_SOURCE_DIR}/rocm_smi/include/rocm_smi/rocm_smi.h"
|
||||
"${PROJECT_SOURCE_DIR}/rocm_smi/include/rocm_smi/rocm_smi_utils.h")
|
||||
|
||||
if(ESMI_AVAILABLE)
|
||||
list(APPEND INC_LIST ${ESMI_INC_DIR}/e_smi/e_smi.h)
|
||||
list(APPEND INC_LIST ${ESMI_INC_DIR}/e_smi/e_smi_monitor.h)
|
||||
list(APPEND INC_LIST ${ESMI_INC_DIR}/e_smi/e_smi_utils.h)
|
||||
endif()
|
||||
# VERSION_* variables should be set by get_version_from_tag
|
||||
message("Package version: ${PKG_VERSION_STR}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user