Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Do not use CMAKE_LIBRARY_ARCHITECTURE for linux #215

Open
wants to merge 1 commit into
base: 4.1
Choose a base branch
from

Commits on Nov 6, 2019

  1. 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
    phcerdan committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    c030881 View commit details
    Browse the repository at this point in the history