btop: add cmake version restriction (#42835)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
fe4a4ddcf9
commit
2ea8a2e6ae
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ class Btop(MakefilePackage, CMakePackage):
|
|||
|
||||
variant("gpu", default=False, description="Enable GPU support", when="build_system=cmake")
|
||||
|
||||
depends_on("cmake@3.24:", type="build", when="@1.3.0: build_system=cmake")
|
||||
|
||||
# Fix linking GPU support, by adding an explicit "target_link_libraries" to ${CMAKE_DL_LIBS}
|
||||
patch("link-dl.patch", when="+gpu")
|
||||
|
||||
|
|
Loading…
Reference in a new issue