Skip to content

Commit

Permalink
Quote paths used in FindPySideTools.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
rpavlik authored and wwmayer committed Aug 11, 2018
1 parent 32c4017 commit f12c409
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cMake/FindPySideTools.cmake
Expand Up @@ -41,9 +41,9 @@ MACRO(PYSIDE_WRAP_UI outfiles)
# pyside-uic generates in comments at beginning, which is why
# we follow the tool command with in-place sed.
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYSIDEUIC4BINARY} "${infile}" -o "${outfile}"
COMMAND "${PYSIDEUIC4BINARY}" "${infile}" -o "${outfile}"
COMMAND sed -i "/^# /d" "${outfile}"
MAIN_DEPENDENCY ${infile}
MAIN_DEPENDENCY "${infile}"
)
endif(WIN32)
list(APPEND ${outfiles} ${outfile})
Expand Down Expand Up @@ -72,10 +72,10 @@ MACRO(PYSIDE_WRAP_RC outfiles)
# Especially on Open Build Service we don't want changing date like
# pyside-rcc generates in comments at beginning, which is why
# we follow the tool command with in-place sed.
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
COMMAND ${PYSIDERCC4BINARY} "${infile}" ${PY_ATTRIBUTE} -o "${outfile}"
ADD_CUSTOM_COMMAND(OUTPUT "${outfile}"
COMMAND "${PYSIDERCC4BINARY}" "${infile}" ${PY_ATTRIBUTE} -o "${outfile}"
COMMAND sed -i "/^# /d" "${outfile}"
MAIN_DEPENDENCY ${infile}
MAIN_DEPENDENCY "${infile}"
)
endif(WIN32)
list(APPEND ${outfiles} ${outfile})
Expand Down

0 comments on commit f12c409

Please sign in to comment.