aristocratos / btop

A monitor of resources
Apache License 2.0
21.34k stars 654 forks source link

Incorrect work with CMake version less than 3.25 #873

Open AnatoliiShablov opened 5 months ago

AnatoliiShablov commented 5 months ago

cmake_minimum_required version is setup to 3.24. But relying on documentation LINUX variable was introduced in 3.25 https://cmake.org/cmake/help/latest/variable/LINUX.html#linux

On my system I get such error

CMake Error at CMakeLists.txt:73 (message):
    Linux is not supported