Use QT_64BIT instead of checking CMAKE_SIZEOF_VOID_P
Pick-to: 6.6 Change-Id: I7db7b8f6c354df264a467538fffffab726ea1b61 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
e9276d7497
commit
c5b0fa6082
@ -281,7 +281,7 @@ qt_setup_tool_path_command()
|
|||||||
# Platform define path, etc.
|
# Platform define path, etc.
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(QT_DEFAULT_PLATFORM_DEFINITIONS WIN32 _ENABLE_EXTENDED_ALIGNED_STORAGE)
|
set(QT_DEFAULT_PLATFORM_DEFINITIONS WIN32 _ENABLE_EXTENDED_ALIGNED_STORAGE)
|
||||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
if(QT_64BIT)
|
||||||
list(APPEND QT_DEFAULT_PLATFORM_DEFINITIONS WIN64 _WIN64)
|
list(APPEND QT_DEFAULT_PLATFORM_DEFINITIONS WIN64 _WIN64)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user