Skip to content

Commit

Permalink
Fix working with pdfcrop on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ZyX-I committed May 19, 2017
1 parent 7eadcc8 commit dd69674
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ foreach(svg_src ${svg_sources})
COMMAND
"${INKSCAPE_COMMAND}" -A "${svg_dst_tmp_rel}" "${svg_src_rel}"
COMMAND
"${PERL_EXECUTABLE}" "${PDFCROP_COMMAND}" "${svg_dst_tmp_rel}"
"${svg_dst_rel}"
"${PDFCROP_COMMAND}" "${svg_dst_tmp_rel}" "${svg_dst_rel}"
COMMAND
"${CMAKE_COMMAND}" -E remove "${svg_dst_tmp_rel}"
DEPENDS "${svg_src}"
Expand All @@ -129,8 +128,7 @@ foreach(dia_src ${dia_sources})
"${INKSCAPE_COMMAND}" -A "${dia_dst_pdf_tmp_rel}"
"${dia_dst_svg_tmp_rel}"
COMMAND
"${PERL_EXECUTABLE}" "${PDFCROP_COMMAND}" "${dia_dst_pdf_tmp_rel}"
"${dia_dst_rel}"
"${PDFCROP_COMMAND}" "${dia_dst_pdf_tmp_rel}" "${dia_dst_rel}"
COMMAND
"${CMAKE_COMMAND}" -E remove "${dia_dst_svg_tmp_rel}"
COMMAND
Expand Down Expand Up @@ -158,8 +156,7 @@ foreach(dot_src ${dot_sources})
"${INKSCAPE_COMMAND}" -A "${dot_dst_pdf_tmp_rel}"
"${dot_dst_svg_tmp_rel}"
COMMAND
"${PERL_EXECUTABLE}" "${PDFCROP_COMMAND}" "${dot_dst_pdf_tmp_rel}"
"${dot_dst_rel}"
"${PDFCROP_COMMAND}" "${dot_dst_pdf_tmp_rel}" "${dot_dst_rel}"
COMMAND
"${CMAKE_COMMAND}" -E remove "${dot_dst_svg_tmp_rel}"
COMMAND
Expand Down

0 comments on commit dd69674

Please sign in to comment.