Cmake tests: Use mkpath from module 'File::Path' to recursively

create the directory path.
This commit is contained in:
Kornel Benko 2016-09-15 21:55:47 +02:00
parent d1300ad1c6
commit 9f1b80a2af

View File

@ -152,7 +152,7 @@ elsif (0) { # set to '1' to enable setting of inputencoding
my $sourcedir = dirname($source);
my $destdir = dirname($dest);
if (! -d $destdir) {
diestack("could not make dir \"$destdir\"") if (! mkdir $destdir);
diestack("could not make dir \"$destdir\"") if (! mkpath $destdir);
}
my $destdirOfSubdocuments;