WGL package: correct libs/headers detection (#35113)

Corrects libs detection with a more specific root, otherwise there
can be inconsistencies between version of WGL requested and the
version picked up by `find_libraries`.

Corrects headers detection - win-sdk, win-wdk, and WGL headers all
exist under the same directory, so we can compute the headers for WGL
without querying the spec for win-sdk (which causes errors).

This commit also removes the `plat` variant of `wgl`, which is
redundant with the Spec's target.
This commit is contained in:
John W. Parent
2023-03-28 19:31:10 -04:00
committed by GitHub
parent a3a9b48ed7
commit 7ffe2fadfe
2 changed files with 24 additions and 4 deletions

View File

@@ -19,3 +19,4 @@ packages:
- msvc
providers:
mpi: [msmpi]
gl: [wgl]