Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 8e1358b

Browse files
committed
SWDEV-282289 - Do not compare Pre-processor directive with string.
Change-Id: I9cd76c57a5cdea8059f69cc56ba9dca278b4d04c
1 parent 554a33b commit 8e1358b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ else()
4949
set(_pchStatus 0)
5050
endif()
5151

52-
if(__HIP_USE_CMPXCHG_FOR_FP_ATOMICS MATCHES "ON")
52+
if(__HIP_USE_CMPXCHG_FOR_FP_ATOMICS)
5353
add_definitions(-D__HIP_USE_CMPXCHG_FOR_FP_ATOMICS)
5454
endif()
5555

0 commit comments

Comments
 (0)