My first Fortran program with CMake

You need to use %USERPROFILE% on the command line to expand the variable properly.