From 31213b7ea57915a33c714897525b67d37d424e1e Mon Sep 17 00:00:00 2001 From: kjayapra-amd Date: Mon, 26 Jul 2021 10:38:42 -0400 Subject: [PATCH] SWDEV-282289 - Do not compare Pre-processor directive with string. Change-Id: I9cd76c57a5cdea8059f69cc56ba9dca278b4d04c [ROCm/clr commit: bf677f91af96a1844a3f070d3eaf3c7536beba10] --- projects/clr/hipamd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/CMakeLists.txt b/projects/clr/hipamd/CMakeLists.txt index 6377cfcc8a..39bd62882f 100755 --- a/projects/clr/hipamd/CMakeLists.txt +++ b/projects/clr/hipamd/CMakeLists.txt @@ -49,7 +49,7 @@ else() set(_pchStatus 0) endif() -if(__HIP_USE_CMPXCHG_FOR_FP_ATOMICS MATCHES "ON") +if(__HIP_USE_CMPXCHG_FOR_FP_ATOMICS) add_definitions(-D__HIP_USE_CMPXCHG_FOR_FP_ATOMICS) endif()