Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Do not use CMAKE_LIBRARY_ARCHITECTURE for linux
CMAKE_LIBRARY_ARCHITECTURE is engineered for Debian-derived linux, not for other distros such as RHEL-derived, Arch, etc. To detect compilers in GetCompilerAndPlatform, use instead `CMAKE_CXX_COMPILER_ID` and `CMAKE_CXX_COMPILER`, as it is used already for the `windows` case. Note that the arm version is untested, so a double check with COMPILER_ID and just COMPILER is in place. Fixes NVIDIAGameWorks#39 Signed-off-by: ns <[email protected]>
- Loading branch information