From df4cae212174fc848be447d53905de7e24cbc8cd Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Wed, 8 Feb 2023 14:19:49 -0800 Subject: [PATCH] File reorg backward compatibility message changed to #error Change-Id: I70b6f06b5e82242b3f50e7d1f0dac8a1eb8add11 [ROCm/ROCR-Runtime commit: 053b89414a4f62382a8309120ee98f693c7bf152] --- projects/rocr-runtime/hsakmt-backward-compat.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/hsakmt-backward-compat.cmake b/projects/rocr-runtime/hsakmt-backward-compat.cmake index 6e1b3a9e97..68b81a803a 100644 --- a/projects/rocr-runtime/hsakmt-backward-compat.cmake +++ b/projects/rocr-runtime/hsakmt-backward-compat.cmake @@ -48,7 +48,7 @@ function(create_header_template) #if defined(__GNUC__) -#warning \"@file_name@ has moved to @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/hsakmt and package include paths have changed.\\nInclude as \\\"hsakmt/@file_name@\\\" when using cmake packages.\" +#error \"@file_name@ has moved to @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/hsakmt and package include paths have changed.\\nInclude as \\\"hsakmt/@file_name@\\\" when using cmake packages.\" #else #pragma message(\"@file_name@ has moved to @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/hsakmt and package include paths have changed.\\nInclude as \\\"hsakmt/@file_name@\\\" when using cmake packages.\") #endif