From 7ffe2fadfedae1133da6a2dfa96b8c21828dbabc Mon Sep 17 00:00:00 2001 From: "John W. Parent" <45471568+johnwparent@users.noreply.github.com> Date: Tue, 28 Mar 2023 19:31:10 -0400 Subject: 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. --- etc/spack/defaults/windows/packages.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/spack/defaults/windows/packages.yaml b/etc/spack/defaults/windows/packages.yaml index 863cf7cf18..c72ba8c033 100644 --- a/etc/spack/defaults/windows/packages.yaml +++ b/etc/spack/defaults/windows/packages.yaml @@ -19,3 +19,4 @@ packages: - msvc providers: mpi: [msmpi] + gl: [wgl] -- cgit v1.2.3-70-g09d2