specifying the type prevents cmake to converthing the paths relative to the CWD cmake documentation: Furthermore, if the <type> is PATH or FILEPATH and the <value> provided on the command line is a relative path, then the set command will treat the path as relative to the current working directory and convert it to an absolute path.
3.9 KiB
3.9 KiB