Using ~ in a CMake path isn’t going to help much. You should use $HOME (on the shell) or $ENV{HOME} (in CMake code) instead.
Using ~ in a CMake path isn’t going to help much. You should use $HOME (on the shell) or $ENV{HOME} (in CMake code) instead.