CMake support for the Linux x86-64 32-bit ABI (x32-abi)
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Currently CMake assumes library files can be located in ${CMAKE_INSTALL_PREFIX}/lib{64}
, or otherwise on the system in /lib{64}
, /usr/lib{64}
etc. This isn't the case with x32-abi
, where library directories are postfixed with x32, for example: ${CMAKE_INSTALL_PREFIX}/libx32
This results in CMake modules being unable to locate their resources, including failure during the configuration of CMake itself after initial bootstrap if CMAKE_INSTALL_PREFIX
and individual *_DIR=/usr/libx32/cmake/*
variables aren't manually provided.