mirror of https://github.com/PCSX2/pcsx2.git
![]() The obtained binaries before and after this commit are identical (sha1sum) when compiled in Debian/Ubuntu/Fedora/ArchLinux. . The linker will always pick the 32bit libraries the only thing this does is make sure we have all the 32bit dependencies installed. Basically we avoid detecting the 64bit libraries and telling the users the 32bit libraries were found. We always link with 32bit libraries therefore this avoids having to wait 5-10min to just be told -lXXX is missing. . The only thing really needed are set(CMAKE_LIBRARY_ARCHITECTURE "../lib32") set(CMAKE_LIBRARY_ARCHITECTURE ".") . which basically ensures we don't pick 64bit headers since CMAKE_LIBRARY_ARCHITECTURE always gets tested first and for some reason FindGTK2 test searches lib64 first then lib32/lib. These values are hardcoded. Right now these arch specific headers are not used but can't say this will always be true. . FIND_LIBRARY_USE_LIB64_PATHS is not needed for native builds and it's covered by CMAKE_SYSTEM_IGNORE_PATH. . NOTE: We filter out lib32 because multilib is not compatible with multiarch. |
||
---|---|---|
.. | ||
BuildParameters.cmake | ||
CheckLib.cmake | ||
FindCg.cmake | ||
FindGlew.cmake | ||
FindLibc.cmake | ||
Pcsx2Utils.cmake | ||
SearchForStuff.cmake | ||
SelectPcsx2Plugins.cmake | ||
TargetArch.cmake | ||
Translation.cmake | ||
darwin-compiler-i386-clang.cmake | ||
darwin-compiler-i386-generic.cmake | ||
linux-compiler-i386-multilib.cmake |