mirror of
https://github.com/libretro/pcsx2.git
synced 2025-01-13 04:50:46 +00:00
d6d06d243c
http://www.vtk.org/Wiki/CMake_Cross_Compiling http://www.cmake.org/cmake/help/v3.0/manual/cmake-toolchains.7.html . The official way that cmake does cross compiling is via the use of a CMAKE_TOOLCHAIN_FILE. This has to be given by the user and can't be included from within a Cmake file since setting up the toolchain has to be the first thing that happens. . After the file is given and validated cmake behaves nicely and all the workarounds and hacks are not really needed anymore. . The consequence of this change is that without this file cmake will try to build for the HOST architecture as expected and with the file it will build for the TARGET architecture of the given toolchain. Due to this remove 64BIT_BUILD_DONT_WORK and just ERROR out if the user tries in the same way as before.