diff --git a/rocm_smi/CMakeLists.txt b/rocm_smi/CMakeLists.txt index c594eeb8af..8401dbe858 100755 --- a/rocm_smi/CMakeLists.txt +++ b/rocm_smi/CMakeLists.txt @@ -84,9 +84,14 @@ target_include_directories(${ROCM_SMI_TARGET} PRIVATE target_include_directories(${ROCM_SMI_TARGET} PUBLIC "$" - "$" + "$" ) +if(FILE_REORG_BACKWARD_COMPATIBILITY) + target_include_directories(${ROCM_SMI_TARGET} + PUBLIC + "$") +endif() ## Set the VERSION and SOVERSION values set_property(TARGET ${ROCM_SMI_TARGET} PROPERTY