lua-sol2: add missing cmake constraint (#50218)

This commit is contained in:
Richard Berger 2025-04-28 00:18:10 -06:00 committed by GitHub
parent 2d42675035
commit 70407e8970
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,8 @@ class LuaSol2(CMakePackage):
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("cmake@3.26.0:", when="@3.5.0:", type="build")
# Lua is not needed when building, since sol2 is headers-only
depends_on("lua", type=("link", "run"))