mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-07 05:53:59 -07:00
build(windows): detect 64-bit using CMAKE_SIZEOF_VOID_P for Ninja compatibility
This commit is contained in:
parent
5c2d12bd15
commit
be046ce784
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ if(UNIX)
|
|||
endif()
|
||||
elseif(WIN32)
|
||||
set(CPACK_GENERATOR NSIS ${CPACK_GENERATOR})
|
||||
if("${CMAKE_GENERATOR_PLATFORM}" MATCHES "(x64)")
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(TRICE_IS_64_BIT 1)
|
||||
else()
|
||||
set(TRICE_IS_64_BIT 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue