Skip to content

Commit 3b9ac3c

Browse files
committed
Fix CMakePackage import for builtin repo
- Use 'from spack_repo.builtin.build_systems.cmake import CMakePackage' - This is the correct import path for packages in builtin repo - Matches pattern used by all other CMake-based builtin packages - Tested locally with spack info/spec commands
1 parent fb6f3f4 commit 3b9ac3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packaging/spack/package.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#
44
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
55

6+
from spack_repo.builtin.build_systems.cmake import CMakePackage
7+
68
from spack.package import *
79

810

0 commit comments

Comments
 (0)