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

Disable finding and linking to DXC if SDLSHADERCROSS_DXC is set to OFF #79

Merged
merged 3 commits into from
Jan 2, 2025

Conversation

matthew-mccall
Copy link
Contributor

@matthew-mccall matthew-mccall commented Jan 1, 2025

This pull request makes it so that if SDLSHADERCROSS_DXC is set to OFF, SDL_Shadercross does not try to find and link to DXC. This is particularly useful on macOS where DXIL support is not necessary and we would otherwise have to build DXC from source (1000+ targets) to compile SDL_shadercross.

@thatcosmonaut thatcosmonaut requested a review from madebr January 1, 2025 22:19
@thatcosmonaut
Copy link
Collaborator

Looks good to me but I want a review from @madebr first.

CMakeLists.txt Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
@flibitijibibo flibitijibibo merged commit b021890 into libsdl-org:main Jan 2, 2025
5 checks passed
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.

4 participants