Browse Source

Also set CMAKE_SYSTEM_PROCESSOR in win cross compile

(cherry picked from commit e02008630f)

Co-authored-by: Mark Roszko <mark.roszko@gmail.com>
9.0
Mark Roszko 2 months ago
parent
commit
d0cb210427
  1. 1
      cmake/ConfigurePlatform.cmake

1
cmake/ConfigurePlatform.cmake

@ -41,6 +41,7 @@ if( MSVC )
if( NOT KICAD_BUILD_ARCH STREQUAL KICAD_HOST_ARCH )
set( CMAKE_CROSSCOMPILING TRUE )
set( CMAKE_SYSTEM_PROCESSOR ${KICAD_BUILD_ARCH} )
endif()
else()
if ( NOT CMAKE_SIZEOF_VOID_P EQUAL 8 )

Loading…
Cancel
Save