SWDEV-316665 - Use CMAKE_SIZEOF_VOID_P to detect 32bit build

Change-Id: If959b0d012caa55afbe54f0fe7da8ad3cca6d452


[ROCm/clr commit: 7356d2ecb1]
Este commit está contenido en:
Jason Tang
2022-03-09 18:26:31 -05:00
cometido por Jason Tang
padre e8ca41a233
commit 8aca1872a1
+1 -1
Ver fichero
@@ -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()