SWDEV-316665 - Use CMAKE_SIZEOF_VOID_P to detect 32bit build

Change-Id: If959b0d012caa55afbe54f0fe7da8ad3cca6d452


[ROCm/clr commit: 7356d2ecb1]
This commit is contained in:
Jason Tang authored and Jason Tang committed 2022-03-15 10:56:26 -04:00
1 förälder e8ca41a233
incheckning 8aca1872a1
1 file changed
+1 -1
+1 -1
Visa fil
@@ -95,7 +95,7 @@ else()
target_compile_definitions(rocclr PUBLIC ATI_OS_LINUX)
endif()
if(NOT CMAKE_CL_64)
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
target_compile_definitions(rocclr PUBLIC ATI_BITS_32)
endif()