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

Fix build on ARM with non-VS generator #5684

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

gongminmin
Copy link
Contributor

CMAKE_GENERATOR_PLATFORM is not widely available. For example, Ninja generator doesn't define it. Use CMAKE_C_COMPILER_ARCHITECTURE_ID to avoid this problem.

CMAKE_GENERATOR_PLATFORM is not widely available. For example, Ninja generator doesn't define it. Use CMAKE_C_COMPILER_ARCHITECTURE_ID to avoid this problem.
Copy link
Member

@hekota hekota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@python3kgae python3kgae merged commit b157ede into microsoft:main Sep 19, 2023
11 checks passed
llvm-beanz pushed a commit to llvm-beanz/DirectXShaderCompiler that referenced this pull request Sep 21, 2023
CMAKE_GENERATOR_PLATFORM is not widely available. For example, Ninja
generator doesn't define it. Use CMAKE_C_COMPILER_ARCHITECTURE_ID to
avoid this problem.
@gongminmin gongminmin deleted the FixARMBuild branch September 23, 2023 02:55
gongminmin added a commit to gongminmin/DirectXShaderCompiler that referenced this pull request Jan 14, 2024
CMAKE_GENERATOR_PLATFORM is not widely available. For example, Ninja
generator doesn't define it. Use CMAKE_C_COMPILER_ARCHITECTURE_ID to
avoid this problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants