What variable is related to the home_dir (like /home/user) of a Linux system in CMake?
What are other easy ways to get it?
Home directory is referred to by the HOME environment variable, so you can access it in CMake script by:
HOME
$ENV{HOME}