-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
OpenGL portfile assumes Windows SDK is installed in Program Files (x86) directory #5495
Comments
Hi @RobinKa , Plz following these steps:
Thanks, |
Hello @wangli28 , Thanks for the response. Sorry if I was not clear enough. My program files path is found just fine. The issue is that the OpenGL portfile is looking within the program files folder for the Windows SDK, although Windows SDK does not have to be installed there (eg. for me it is |
Hi,
my windows kit is installed in the following folder
Does anybody have any solutions? |
this bug still exists and my workaroud is to make a dir junction |
Change the file "vcpkg\ports\opengl\portfile.cmake":
like this:
Solve the problem for me. |
This solved it for me, too. |
Duplicated to #8288 |
https://github.com/Microsoft/vcpkg/blob/8641dfd9dd6d3bf190515822060872a56ee37906/ports/opengl/portfile.cmake#L8-L14
This does not always seem to be the case. For me the Windows SDK was installed in the root directory of a partition.
The text was updated successfully, but these errors were encountered: