Skip to content

Conversation

phcerdan
Copy link

@phcerdan phcerdan commented Nov 6, 2019

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 #39

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMake generate_projects.sh problem on Arch Linux

1 participant