summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJohn W. Parent <45471568+johnwparent@users.noreply.github.com>2023-03-28 19:31:10 -0400
committerGitHub <noreply@github.com>2023-03-28 16:31:10 -0700
commit7ffe2fadfedae1133da6a2dfa96b8c21828dbabc (patch)
treecee4367a4aa10ce1ab754a9d25e91b7ea86ea503 /etc
parenta3a9b48ed72f4e4eb8f3f00c898fd28775b03337 (diff)
downloadspack-7ffe2fadfedae1133da6a2dfa96b8c21828dbabc.tar.gz
spack-7ffe2fadfedae1133da6a2dfa96b8c21828dbabc.tar.bz2
spack-7ffe2fadfedae1133da6a2dfa96b8c21828dbabc.tar.xz
spack-7ffe2fadfedae1133da6a2dfa96b8c21828dbabc.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/windows/packages.yaml1
1 files changed, 1 insertions, 0 deletions
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]