cmake-3.23.2 fails to determine TOTAL_PHYSICAL_MEMORY on FreeBSD
This CMakeLists.txt
:
cmake_minimum_required (VERSION 3.23.2)
cmake_host_system_information (RESULT host_mem QUERY TOTAL_PHYSICAL_MEMORY)
message("host_mem=${host_mem}")
prints
host_mem=0
on FreeBSD 13.1.