SWDEV-316665 - Use CMAKE_SIZEOF_VOID_P to detect 32bit build
Change-Id: If959b0d012caa55afbe54f0fe7da8ad3cca6d452
Этот коммит содержится в:
коммит произвёл
Jason Tang
родитель
c0ada20664
Коммит
7356d2ecb1
@@ -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()
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user