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: improve windows SDK folder detection #467

Open
TheMostDiligent opened this issue Feb 29, 2024 · 1 comment
Open

CMake: improve windows SDK folder detection #467

TheMostDiligent opened this issue Feb 29, 2024 · 1 comment

Comments

@TheMostDiligent
Copy link
Contributor

This will make the commands work outside of VS environment.

The path can be obtained this way:

get_filename_component(CMAKE_DEVKIT_LOCATION ${CMAKE_RC_COMPILER} DIRECTORY)

@TheMostDiligent
Copy link
Contributor Author

CMAKE_RC_COMPILER is only set to rc, however CMAKE_AR is set to the full path.

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

No branches or pull requests

1 participant